Skip to content

Commit 8aea3c5

Browse files
committed
update ESLint and Stylelint
1 parent f13f8cb commit 8aea3c5

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

.eslintrc.json

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
{
22
"extends": "plugin:@wordpress/eslint-plugin/es5",
33
"env": {
4-
"browser": true,
5-
"jquery": true
6-
},
7-
"globals": {
8-
"Raphael": "readonly",
9-
"getAnchors": "readonly"
4+
"browser": true
105
},
116
"rules": {
127
"camelcase": 0,
13-
"eqeqeq": 0,
14-
"no-mixed-operators": 0,
15-
"no-redeclare": 0,
16-
"no-shadow": 0,
17-
"no-unused-expressions": 0,
18-
"no-unused-vars": 0,
198
"vars-on-top": 0
209
}
2110
}

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"private": true,
33
"devDependencies": {
4-
"stylelint": "^14.16.1",
5-
"eslint": "^8.57.0",
6-
"@wordpress/eslint-plugin": "^19.1.0",
7-
"@wordpress/stylelint-config": "^22.1.0"
4+
"stylelint": "^16.9.0",
5+
"eslint": "^8.57.1",
6+
"@wordpress/eslint-plugin": "^21.2.0",
7+
"@wordpress/stylelint-config": "^23.1.0"
88
}
99
}

0 commit comments

Comments
 (0)