diff --git a/.eslintrc.yaml b/.eslintrc.yaml deleted file mode 100644 index 911f22c681..0000000000 --- a/.eslintrc.yaml +++ /dev/null @@ -1,11 +0,0 @@ -env: - node: true - browser: true -parserOptions: - ecmaVersion: 5 - sourceType: script -extends: semistandard -rules: - strict: - - error - - safe diff --git a/Makefile b/Makefile index 7abbaad0d7..22587495d3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BROWSERIFY := "node_modules/.bin/browserify" -ESLINT := "node_modules/.bin/eslint" +SEMISTANDARD:= "node_modules/.bin/semistandard" KARMA := "node_modules/.bin/karma" MOCHA := "bin/mocha" NYC := "node_modules/.bin/nyc" @@ -34,7 +34,9 @@ clean: lint: @printf "==> [Test :: Lint]\n" - $(ESLINT) . bin/* + $(SEMISTANDARD) $(SRC) + $(SEMISTANDARD) --env mocha --global assert --global expect --global run $(TESTS) + $(SEMISTANDARD) bin/* scripts/*.js *.js test-node: test-bdd test-tdd test-qunit test-exports test-unit test-integration test-jsapi test-compilers test-glob test-requires test-reporters test-only test-global-only diff --git a/lib/browser/.eslintrc.yaml b/lib/browser/.eslintrc.yaml deleted file mode 100644 index d85f537d3b..0000000000 --- a/lib/browser/.eslintrc.yaml +++ /dev/null @@ -1,4 +0,0 @@ -env: - node: false - browser: false - commonjs: true diff --git a/package.json b/package.json index 6919173a8d..2e1353c727 100644 --- a/package.json +++ b/package.json @@ -323,11 +323,6 @@ "browserify": "^13.0.0", "coffee-script": "^1.10.0", "coveralls": "^2.11.15", - "eslint": "^3.11.1", - "eslint-config-semistandard": "^7.0.0", - "eslint-config-standard": "^6.2.1", - "eslint-plugin-promise": "^3.4.0", - "eslint-plugin-standard": "2.0.1", "expect.js": "^0.3.1", "istanbul-combine": "^0.3.0", "karma": "1.3.0", @@ -342,6 +337,7 @@ "os-name": "^2.0.1", "phantomjs": "1.9.8", "rimraf": "^2.5.2", + "semistandard": "^9.2.1", "should": "^11.1.1", "through2": "^2.0.1", "watchify": "^3.7.0" @@ -374,5 +370,11 @@ "phantomjs", "lodash.create" ] + }, + "semistandard": { + "ignore": [ + "/mocha.js", + "/lib/to-iso-string/**/*.js" + ] } } diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml deleted file mode 100644 index 1830a0b6f4..0000000000 --- a/test/.eslintrc.yaml +++ /dev/null @@ -1,7 +0,0 @@ -env: - mocha: true -globals: - expect: false - assert: false - # https://github.com/sindresorhus/globals/pull/102 - run: false