Skip to content

Commit

Permalink
Revert "use semistandard directly"
Browse files Browse the repository at this point in the history
This reverts commit bb70b18.
  • Loading branch information
boneskull committed May 12, 2017
1 parent 93392dd commit dcfc094
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
env:
node: true
browser: true
parserOptions:
ecmaVersion: 5
sourceType: script
extends: semistandard
rules:
strict:
- error
- safe
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BROWSERIFY := "node_modules/.bin/browserify"
SEMISTANDARD:= "node_modules/.bin/semistandard"
ESLINT := "node_modules/.bin/eslint"
KARMA := "node_modules/.bin/karma"
MOCHA := "bin/mocha"
NYC := "node_modules/.bin/nyc"
Expand Down Expand Up @@ -34,9 +34,7 @@ clean:

lint:
@printf "==> [Test :: Lint]\n"
$(SEMISTANDARD) $(SRC)
$(SEMISTANDARD) --env mocha --global assert --global expect --global run $(TESTS)
$(SEMISTANDARD) bin/* scripts/*.js *.js
$(ESLINT) . "bin/*"

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

Expand Down
4 changes: 4 additions & 0 deletions lib/browser/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
env:
node: false
browser: false
commonjs: true
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@
"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",
Expand All @@ -336,7 +341,6 @@
"nyc": "^10.0.0",
"phantomjs": "1.9.8",
"rimraf": "^2.5.2",
"semistandard": "^9.2.1",
"should": "^11.1.1",
"through2": "^2.0.1",
"watchify": "^3.7.0"
Expand Down Expand Up @@ -369,11 +373,5 @@
"phantomjs",
"lodash.create"
]
},
"semistandard": {
"ignore": [
"/mocha.js",
"/lib/to-iso-string/**/*.js"
]
}
}
7 changes: 7 additions & 0 deletions test/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
env:
mocha: true
globals:
expect: false
assert: false
# https://github.com/sindresorhus/globals/pull/102
run: false

0 comments on commit dcfc094

Please sign in to comment.