-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
125 changed files
with
1,949 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,50 @@ | ||
language: node_js | ||
node_js: | ||
- 4 | ||
- 6 | ||
- 8 | ||
- '8' | ||
- '6' | ||
- '4' | ||
|
||
os: linux | ||
|
||
env: | ||
- ESLINT_VERSION=2 | ||
- ESLINT_VERSION=3 | ||
- ESLINT_VERSION=4 | ||
- ESLINT_VERSION=3 | ||
- ESLINT_VERSION=2 | ||
|
||
# osx backlog is often deep, so to be polite we can just hit these highlights | ||
matrix: | ||
include: | ||
- os: osx | ||
env: ESLINT_VERSION=2 | ||
- env: PACKAGE=resolvers/node | ||
node_js: 8 | ||
- env: PACKAGE=resolvers/node | ||
node_js: 6 | ||
- env: PACKAGE=resolvers/node | ||
node_js: 4 | ||
- os: osx | ||
env: ESLINT_VERSION=3 | ||
- env: PACKAGE=resolvers/webpack | ||
node_js: 8 | ||
- env: PACKAGE=resolvers/webpack | ||
node_js: 6 | ||
- env: PACKAGE=resolvers/webpack | ||
node_js: 4 | ||
- os: osx | ||
env: ESLINT_VERSION=4 | ||
node_js: 8 | ||
- os: osx | ||
env: ESLINT_VERSION=3 | ||
node_js: 6 | ||
- os: osx | ||
env: ESLINT_VERSION=2 | ||
node_js: 4 | ||
|
||
before_install: | ||
- 'nvm install-latest-npm' | ||
- 'if [ -n "${PACKAGE-}" ]; then cd "${PACKAGE}"; fi' | ||
install: | ||
- if [ ${TRAVIS_NODE_VERSION} == "4" ]; then | ||
npm install -g npm@3; | ||
fi | ||
- npm install | ||
- npm install eslint@$ESLINT_VERSION --ignore-scripts || true | ||
# install all resolver deps | ||
- "for resolver in ./resolvers/*; do cd $resolver && npm install && cd ../..; done" | ||
- npm install --no-save eslint@$ESLINT_VERSION --ignore-scripts || true | ||
|
||
script: | ||
- "npm test" | ||
- "for resolver in ./resolvers/*; do cd $resolver && npm test && cd ../..; done" | ||
- 'npm test' | ||
|
||
after_success: | ||
- npm run coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# export | ||
# import/export | ||
|
||
Reports funny business with exports, like repeated exports of names or defaults. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# first | ||
# import/first | ||
|
||
This rule reports any imports that come after non-import | ||
statements. | ||
|
Oops, something went wrong.