-
Notifications
You must be signed in to change notification settings - Fork 4
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
Mike Nason
committed
Jul 24, 2017
1 parent
99c0466
commit 83e31fa
Showing
5 changed files
with
42 additions
and
21 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 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,24 @@ | ||
// Config for Node projects | ||
// | ||
// Note this includes the `security` plugin to help identify security hotspots | ||
// This plugin is slow, finds a lot of false positives which need triage by a human, | ||
// and is not useful on the client-side! | ||
|
||
module.exports = { | ||
plugins: [ | ||
'node', | ||
'security', | ||
], | ||
extends: [ | ||
'plugin:node/recommended', | ||
'plugin:security/recommended', | ||
], | ||
|
||
rules: { | ||
// Disable https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-unsupported-features.md | ||
// since projects have vastly different setups. Reccomend re-configuring in individual projects. | ||
'node/no-unsupported-features': 0, | ||
}, | ||
}; | ||
|
||
|
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