This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prepare script and precommit linting
- Loading branch information
1 parent
3ff2caa
commit c46fdab
Showing
7 changed files
with
3,017 additions
and
77 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"src/**/*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"test/test.js": [ | ||
"eslint --fix", | ||
"git add" | ||
] | ||
} |
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,13 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "4.0" | ||
- "stable" | ||
- "4" | ||
- "6" | ||
- "8" | ||
- "10" | ||
env: | ||
global: | ||
- BUILD_TIMEOUT=10000 | ||
install: npm install --ignore-scripts | ||
before_install: | ||
- if [[ $TRAVIS_NODE_VERSION -lt 7 ]]; then npm install --global npm@4; fi |
Oops, something went wrong.