Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: improve auto-generation script
- Loading branch information
1 parent
d4e6bc4
commit cf36e6d
Showing
19 changed files
with
214 additions
and
133 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,6 +1,5 @@ | ||
/.nyc_output | ||
/coverage | ||
/index.js | ||
/npm-debug.log | ||
/node_modules | ||
/test.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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* @author Toru Nagashima | ||
* @copyright 2017 Toru Nagashima. All rights reserved. | ||
* See LICENSE file in root directory for full license. | ||
*/ | ||
"use strict" | ||
|
||
module.exports = { | ||
configs: {recommended: require("./recommended.json")}, | ||
rules: require("./rules.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,24 @@ | ||
{ | ||
"parserOptions": { | ||
"ecmaVersion": 8 | ||
}, | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"rules": { | ||
"no-process-exit": "error", | ||
"node/exports-style": "off", | ||
"node/no-deprecated-api": "error", | ||
"node/no-extraneous-import": "off", | ||
"node/no-extraneous-require": "error", | ||
"node/no-missing-import": "off", | ||
"node/no-missing-require": "error", | ||
"node/no-unpublished-bin": "error", | ||
"node/no-unpublished-import": "off", | ||
"node/no-unpublished-require": "error", | ||
"node/no-unsupported-features": "error", | ||
"node/process-exit-as-throw": "error", | ||
"node/shebang": "error" | ||
} | ||
} |
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,22 @@ | ||
/** | ||
* @author Toru Nagashima | ||
* @copyright 2017 Toru Nagashima. All rights reserved. | ||
* See LICENSE file in root directory for full license. | ||
*/ | ||
"use strict" | ||
|
||
module.exports = { | ||
"exports-style": require("./rules/exports-style"), | ||
"no-deprecated-api": require("./rules/no-deprecated-api"), | ||
"no-extraneous-import": require("./rules/no-extraneous-import"), | ||
"no-extraneous-require": require("./rules/no-extraneous-require"), | ||
"no-hide-core-modules": require("./rules/no-hide-core-modules"), | ||
"no-missing-import": require("./rules/no-missing-import"), | ||
"no-missing-require": require("./rules/no-missing-require"), | ||
"no-unpublished-bin": require("./rules/no-unpublished-bin"), | ||
"no-unpublished-import": require("./rules/no-unpublished-import"), | ||
"no-unpublished-require": require("./rules/no-unpublished-require"), | ||
"no-unsupported-features": require("./rules/no-unsupported-features"), | ||
"process-exit-as-throw": require("./rules/process-exit-as-throw"), | ||
"shebang": require("./rules/shebang"), | ||
} |
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
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.