Skip to content

Commit

Permalink
refactor: migrate internal linting to recommended plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 committed Apr 22, 2024
1 parent c4c75ef commit 0591f4c
Show file tree
Hide file tree
Showing 4 changed files with 528 additions and 4,204 deletions.
33 changes: 30 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,35 @@
{
"env": {
"node": true,
"es6": true
},
"plugins": [
"@cypress/dev"
"eslint-plugin",
"n",
"mocha"
],
"extends": [
"plugin:@cypress/dev/general"
]
"eslint:recommended",
"plugin:eslint-plugin/recommended",
"plugin:n/recommended",
"plugin:mocha/recommended"
],
"rules": {
"eslint-plugin/require-meta-schema": "off",
"eslint-plugin/require-meta-type": "off",
"n/no-extraneous-require": [
"error",
{
"allowModules": [
"jest-config"
]
}
],
"no-redeclare": "off",
"mocha/no-mocha-arrows": "off",
"mocha/no-setup-in-describe": "off"
},
"parserOptions": {
"ecmaVersion": 2018
}
}

0 comments on commit 0591f4c

Please sign in to comment.