Skip to content

Commit 9bb9613

Browse files
committed
lint: use standard style
1 parent 2554b1d commit 9bb9613

File tree

8 files changed

+404
-373
lines changed

8 files changed

+404
-373
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
coverage
2+
node_modules

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "standard"
3+
}

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cache:
1515
- node_modules
1616
before_install:
1717
# Setup Node.js version-specific dependencies
18-
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
18+
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard istanbul"
1919

2020
# Update Node.js modules
2121
- "test ! -d node_modules || npm prune"
@@ -24,5 +24,6 @@ script:
2424
# Run test script, depending on istanbul install
2525
- "test ! -z $(npm -ps ls istanbul) || npm test"
2626
- "test -z $(npm -ps ls istanbul) || npm run-script test-ci"
27+
- "test -z $(npm -ps ls eslint ) || npm run-script lint"
2728
after_script:
2829
- "test -e ./coverage/lcov.info && npm install [email protected] && cat ./coverage/lcov.info | coveralls"

appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ cache:
1414
install:
1515
- ps: Install-Product node $env:nodejs_version
1616
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
17+
- npm rm --save-dev eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard
1718
- if exist node_modules npm prune
1819
- if exist node_modules npm rebuild
1920
- npm install

0 commit comments

Comments
 (0)