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 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactorings from #331 * Update dependencies * Update dependencies
- Loading branch information
1 parent
d449220
commit 6c93eb3
Showing
32 changed files
with
3,657 additions
and
1,204 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"root": true, | ||
"rules": { | ||
"indent": [ 2, "tab", { "SwitchCase": 1 } ], | ||
"semi": [ 2, "always" ], | ||
"keyword-spacing": [ 2, { "before": true, "after": true } ], | ||
"space-before-blocks": [ 2, "always" ], | ||
"no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ], | ||
"no-cond-assign": 0, | ||
"no-unused-vars": 2, | ||
"object-shorthand": [ 2, "always" ], | ||
"no-const-assign": 2, | ||
"no-class-assign": 2, | ||
"no-this-before-super": 2, | ||
"no-var": 2, | ||
"no-unreachable": 2, | ||
"valid-typeof": 2, | ||
"quote-props": [ 2, "as-needed" ], | ||
"one-var": [ 2, "never" ], | ||
"prefer-arrow-callback": 2, | ||
"prefer-const": [ 2, { "destructuring": "all" } ], | ||
"arrow-spacing": 2 | ||
}, | ||
"env": { | ||
"es6": true, | ||
"browser": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:import/errors", | ||
"plugin:import/warnings" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 8, | ||
"sourceType": "module" | ||
}, | ||
"settings": { | ||
"import/ignore": [ 0, [ | ||
"\\.path.js$" | ||
] ] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
node_modules | ||
.gobble* | ||
dist | ||
!test/node_modules | ||
!test/**/node_modules |
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,6 @@ | ||
{ | ||
"hooks": { | ||
"post-commit": "git reset", | ||
"pre-commit": "lint-staged" | ||
} | ||
} |
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,7 @@ | ||
{ | ||
"{src/**/*,test/test,test/**/_config}.js": [ | ||
"prettier --write", | ||
"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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"singleQuote": true, | ||
"useTabs": true, | ||
"printWidth": 100 | ||
} |
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,10 +1,9 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "node" | ||
- "8" | ||
- "10" | ||
env: | ||
global: | ||
- BUILD_TIMEOUT=10000 | ||
install: npm install | ||
before_install: | ||
- if [[ $TRAVIS_NODE_VERSION -lt 7 ]]; then npm install --global npm@4; fi |
Oops, something went wrong.