mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 10:05:40 +02:00
Move eslint-plugin-compat
to the extends array.
This commit is contained in:
@@ -5,15 +5,13 @@
|
|||||||
"browser": true,
|
"browser": true,
|
||||||
"es6": true
|
"es6": true
|
||||||
},
|
},
|
||||||
"extends": "eslint:recommended",
|
"extends": ["eslint:recommended", "plugin:compat/recommended"],
|
||||||
"plugins": ["compat"],
|
|
||||||
"rules": {
|
"rules": {
|
||||||
// Possible Errors
|
// Possible Errors
|
||||||
"no-await-in-loop": "error",
|
"no-await-in-loop": "error",
|
||||||
"no-extra-parens": "error",
|
"no-extra-parens": "error",
|
||||||
"no-prototype-builtins": "error",
|
"no-prototype-builtins": "error",
|
||||||
"no-template-curly-in-string": "error",
|
"no-template-curly-in-string": "error",
|
||||||
"compat/compat": "error",
|
|
||||||
"valid-jsdoc": "error",
|
"valid-jsdoc": "error",
|
||||||
|
|
||||||
// Best Practices
|
// Best Practices
|
||||||
|
Reference in New Issue
Block a user