From 664e1aac1d3e4e51ceada1d4943f1c412fd9c1d6 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 6 Jan 2021 19:28:39 -0500 Subject: [PATCH] chore: update linter config --- .eslintrc.json | 5 ++++- .phpcs.xml | 2 +- eslintrc.json | 13 ------------- 3 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json index 4185f853..ce028b80 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -11,7 +11,10 @@ }, "rules": { "one-var": "off", - "//": ["off", "ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."], + "//": [ + "off", + "ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+." + ], "no-implicit-globals": "off" } } diff --git a/.phpcs.xml b/.phpcs.xml index 2d610fb4..fa415789 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,7 +2,7 @@ . - + */vendor/* */out/* diff --git a/eslintrc.json b/eslintrc.json deleted file mode 100644 index 59995f7a..00000000 --- a/eslintrc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "root": true, - "extends": [ - "wikimedia", - "wikimedia/language/es6" - ], - "env": { - "browser": true - }, - "parserOptions": { - "sourceType": "module" - } -} \ No newline at end of file