This is required because we need to add the babel-eslint dependency and it has to be able to resolve "eslint". babel-eslint is required to support future ES features such as async iterators and import.meta. Refs: https://github.com/nodejs/node/pull/17755 PR-URL: https://github.com/nodejs/node/pull/17820 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
22 lines
1 KiB
JSON
22 lines
1 KiB
JSON
{
|
|
"rules": {
|
|
"generator-star": ["generator-star-spacing"],
|
|
"global-strict": ["strict"],
|
|
"no-arrow-condition": ["no-confusing-arrow", "no-constant-condition"],
|
|
"no-comma-dangle": ["comma-dangle"],
|
|
"no-empty-class": ["no-empty-character-class"],
|
|
"no-empty-label": ["no-labels"],
|
|
"no-extra-strict": ["strict"],
|
|
"no-reserved-keys": ["quote-props"],
|
|
"no-space-before-semi": ["semi-spacing"],
|
|
"no-wrap-func": ["no-extra-parens"],
|
|
"space-after-function-name": ["space-before-function-paren"],
|
|
"space-after-keywords": ["keyword-spacing"],
|
|
"space-before-function-parentheses": ["space-before-function-paren"],
|
|
"space-before-keywords": ["keyword-spacing"],
|
|
"space-in-brackets": ["object-curly-spacing", "array-bracket-spacing", "computed-property-spacing"],
|
|
"space-return-throw-case": ["keyword-spacing"],
|
|
"space-unary-word-ops": ["space-unary-ops"],
|
|
"spaced-line-comment": ["spaced-comment"]
|
|
}
|
|
}
|