Skip to content

Commit f757f7f

Browse files
authored
chore(deps): migrate to eslint stylistic 1.7.2 (#833)
replaces deprecated eslint indent rule
1 parent c06177d commit f757f7f

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"plugin:mocha/recommended"
66
],
77
"plugins": [
8+
"@stylistic/js",
89
"cypress",
910
"mocha"
1011
],
@@ -13,7 +14,7 @@
1314
"node": true
1415
},
1516
"rules": {
16-
"indent": ["error", 2, { "SwitchCase": 1, "MemberExpression": "off" }],
17+
"@stylistic/js/indent": ["error", 2, { "SwitchCase": 1, "MemberExpression": "off" }],
1718
"mocha/no-exclusive-tests": "error",
1819
"mocha/no-skipped-tests": "error",
1920
"mocha/no-mocha-arrows": "off"

package-lock.json

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"@bahmutov/print-env": "1.3.0",
64+
"@stylistic/eslint-plugin-js": "1.7.2",
6465
"cypress": "13.8.1",
6566
"eslint": "8.57.0",
6667
"eslint-plugin-cypress": "3.0.2",

0 commit comments

Comments
 (0)