Skip to content

Commit 4ac95b5

Browse files
committed
upgrade eslint-config-wikimedia
1 parent 30e3395 commit 4ac95b5

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.eslintrc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": [
3-
"wikimedia/client/es6",
3+
"wikimedia/client",
44
"wikimedia/jquery",
55
"wikimedia/mediawiki"
66
],
@@ -16,7 +16,6 @@
1616
},
1717
"rules": {
1818
"camelcase": "off",
19-
"es-x/no-array-prototype-includes": "off",
2019
"es-x/no-async-functions": "off",
2120
"es-x/no-class-fields": "off",
2221
"es-x/no-optional-catch-binding": "off",
@@ -31,10 +30,11 @@
3130
"jsdoc/require-returns": "off",
3231
"jsdoc/check-alignment": "error",
3332
"jsdoc/tag-lines": "error",
34-
"max-len": "off",
33+
"max-len": "off", // annoying
3534
"mediawiki/class-doc": "off",
3635
"no-console": "warn",
3736
"no-jquery/no-class-state": "off",
37+
"no-jquery/no-extend": "off", // autofix is buggy
3838
"no-jquery/no-global-selector": "off",
3939
"no-jquery/no-parse-html-literal": "off",
4040
"no-shadow": "off",

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"name": "user-scripts",
3-
"version": "1.0.0",
4-
"description": "I added most of my Wikipedia user scripts to this GitHub to make pull requests/collaboration easier.",
5-
"main": "",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
8-
},
9-
"repository": {
10-
"type": "git",
11-
"url": "git+https://github.com/NovemLinguae/UserScripts.git"
12-
},
13-
"author": "",
14-
"license": "",
15-
"bugs": {
16-
"url": "https://github.com/NovemLinguae/UserScripts/issues"
17-
},
18-
"homepage": "https://github.com/NovemLinguae/UserScripts#readme",
19-
"devDependencies": {
20-
"eslint-config-wikimedia": "^0.28.2"
21-
}
2+
"name": "user-scripts",
3+
"version": "1.0.0",
4+
"description": "I added most of my Wikipedia user scripts to this GitHub to make pull requests/collaboration easier.",
5+
"main": "",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/NovemLinguae/UserScripts.git"
12+
},
13+
"author": "",
14+
"license": "",
15+
"bugs": {
16+
"url": "https://github.com/NovemLinguae/UserScripts/issues"
17+
},
18+
"homepage": "https://github.com/NovemLinguae/UserScripts#readme",
19+
"devDependencies": {
20+
"eslint-config-wikimedia": "^0.29.1"
21+
}
2222
}

0 commit comments

Comments
 (0)