diff --git a/.eslintrc.json b/.eslintrc.json index 1e1ee2d2..04f9da7a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,31 +1,6 @@ { "root": true, "extends": [ - "wikimedia/client-es6", - "wikimedia/mediawiki" - ], - "env": { - "browser": true - }, - "globals": { - "exports": true - }, - "rules": { - "no-implicit-globals": "warn", - "es-x/no-async-functions": "warn", - "es-x/no-object-fromentries": "warn", - "es-x/no-object-entries": "warn", - "es-x/no-object-values": "warn", - "es-x/no-array-prototype-includes": "warn", - "es-x/no-optional-chaining": "warn", - "es-x/no-nullish-coalescing-operators": "warn", - "es-x/no-rest-spread-properties": "warn", - "es-x/no-symbol-prototype-description": "warn", - "compat/compat": "warn", - "mediawiki/class-doc": "off" - }, - "parserOptions": { - "ecmaVersion": 11, - "sourceType": "module" - } + "wikimedia/server" + ] } diff --git a/resources/.eslintrc.json b/resources/.eslintrc.json new file mode 100644 index 00000000..1e1ee2d2 --- /dev/null +++ b/resources/.eslintrc.json @@ -0,0 +1,31 @@ +{ + "root": true, + "extends": [ + "wikimedia/client-es6", + "wikimedia/mediawiki" + ], + "env": { + "browser": true + }, + "globals": { + "exports": true + }, + "rules": { + "no-implicit-globals": "warn", + "es-x/no-async-functions": "warn", + "es-x/no-object-fromentries": "warn", + "es-x/no-object-entries": "warn", + "es-x/no-object-values": "warn", + "es-x/no-array-prototype-includes": "warn", + "es-x/no-optional-chaining": "warn", + "es-x/no-nullish-coalescing-operators": "warn", + "es-x/no-rest-spread-properties": "warn", + "es-x/no-symbol-prototype-description": "warn", + "compat/compat": "warn", + "mediawiki/class-doc": "off" + }, + "parserOptions": { + "ecmaVersion": 11, + "sourceType": "module" + } +}