Skip to content

Commit 7ca920a

Browse files
Merge pull request #177 from MikeMcC399/migrate/internal-linting
refactor: migrate internal linting to recommended plugins
2 parents 03a52b9 + 1209378 commit 7ca920a

File tree

4 files changed

+528
-4204
lines changed

4 files changed

+528
-4204
lines changed

.eslintrc.json

+30-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,35 @@
11
{
2+
"env": {
3+
"node": true,
4+
"es6": true
5+
},
26
"plugins": [
3-
"@cypress/dev"
7+
"eslint-plugin",
8+
"n",
9+
"mocha"
410
],
511
"extends": [
6-
"plugin:@cypress/dev/general"
7-
]
12+
"eslint:recommended",
13+
"plugin:eslint-plugin/recommended",
14+
"plugin:n/recommended",
15+
"plugin:mocha/recommended"
16+
],
17+
"rules": {
18+
"eslint-plugin/require-meta-schema": "off",
19+
"eslint-plugin/require-meta-type": "off",
20+
"n/no-extraneous-require": [
21+
"error",
22+
{
23+
"allowModules": [
24+
"jest-config"
25+
]
26+
}
27+
],
28+
"no-redeclare": "off",
29+
"mocha/no-mocha-arrows": "off",
30+
"mocha/no-setup-in-describe": "off"
31+
},
32+
"parserOptions": {
33+
"ecmaVersion": 2018
34+
}
835
}

0 commit comments

Comments
 (0)