-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 update dependencies and drop Node 4 support
Some dependencies dropped Node 4 support
- Loading branch information
1 parent
0d285bf
commit c909fcd
Showing
26 changed files
with
245 additions
and
266 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,2 +1,6 @@ | ||
/.nyc_output | ||
/coverage | ||
/dist | ||
/scripts/babel-register.js | ||
/node_modules | ||
|
||
!.eslintrc.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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* @author Toru Nagashima <https://github.com/mysticatea> | ||
* See LICENSE file in root directory for full license. | ||
*/ | ||
"use strict" | ||
|
||
const { configs, utils } = require("@mysticatea/eslint-plugin") | ||
|
||
module.exports = { | ||
root: true, | ||
extends: ["plugin:@mysticatea/es2015"], | ||
rules: { | ||
"import/exports-last": "off", | ||
"import/first": "off", | ||
|
||
// To reduce size for babel-translation. | ||
"no-restricted-syntax": [ | ||
"error", | ||
"ForOfStatement", | ||
"BinaryExpression[left.operator='typeof'][right.value='object']", | ||
], | ||
"prefer-rest-params": "off", | ||
"prefer-spread": "off", | ||
"@mysticatea/prefer-for-of": "off", | ||
}, | ||
overrides: [ | ||
utils.merge({ files: "*.mjs" }, configs["+modules"]), | ||
{ | ||
files: "test/*.mjs", | ||
rules: { | ||
"new-cap": "off", | ||
}, | ||
}, | ||
], | ||
} |
This file was deleted.
Oops, something went wrong.
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: | ||
- "4" | ||
- "6" | ||
- "8" | ||
- "10" | ||
- "11" | ||
|
||
script: | ||
- npm run -s test:mocha | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.