Skip to content

Commit 8798e50

Browse files
authored
Re-enable eslint with standard format (brianc#1367)
* Work on converting lib to standard * Finish updating lib * Finish linting lib * Format test files * Add .eslintrc with standard format * Supply full path to eslint bin * Move lint command to package.json * Add eslint as dev dependency
1 parent f7de9ce commit 8798e50

File tree

104 files changed

+4878
-4970
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+4878
-4970
lines changed

.eslintrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "standard",
3+
"rules": {
4+
"no-new-func": "off"
5+
}
6+
}

.jshintrc

-5
This file was deleted.

Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ params := $(connectionString)
77
node-command := xargs -n 1 -I file node file $(params)
88

99
.PHONY : test test-connection test-integration bench test-native \
10-
jshint publish test-missing-native update-npm
10+
lint publish test-missing-native update-npm
1111

1212
all:
1313
npm install
@@ -17,7 +17,7 @@ help:
1717

1818
test: test-unit
1919

20-
test-all: jshint test-missing-native test-unit test-integration test-native
20+
test-all: lint test-missing-native test-unit test-integration test-native
2121

2222

2323
update-npm:
@@ -60,5 +60,6 @@ test-binary: test-connection
6060
test-pool:
6161
@find test/integration/connection-pool -name "*.js" | $(node-command) binary
6262

63-
jshint:
64-
@echo "***Starting jshint***"
63+
lint:
64+
@echo "***Starting lint***"
65+
eslint lib

0 commit comments

Comments
 (0)