зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1558517 - Pre 3.2: Disable conflicting eslint:recommended rules by extending eslint-config-prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34536 --HG-- extra : source : d380852a85aeaa9c94a073babfb238976a2a92d6 extra : intermediate-source : 895bba67b824070da27360a49578b938636d72f5
This commit is contained in:
Родитель
34da32ec3c
Коммит
cda7f0dcb0
|
@ -16,6 +16,7 @@ module.exports = {
|
|||
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:prettier/recommended",
|
||||
],
|
||||
|
||||
"globals": {
|
||||
|
@ -82,7 +83,6 @@ module.exports = {
|
|||
"html",
|
||||
"fetch-options",
|
||||
"no-unsanitized",
|
||||
"prettier",
|
||||
],
|
||||
|
||||
// When adding items to this file please check for effects on all of toolkit
|
||||
|
@ -266,9 +266,6 @@ module.exports = {
|
|||
// Require object-literal shorthand with ES6 method syntax
|
||||
"object-shorthand": ["error", "always", { "avoidQuotes": true }],
|
||||
|
||||
// Formatting.
|
||||
"prettier/prettier": "error",
|
||||
|
||||
// XXX Bug 1487642 - decide if we want to enable this or not.
|
||||
// Require generator functions to contain yield
|
||||
"require-yield": "off",
|
||||
|
|
Загрузка…
Ссылка в новой задаче