mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Enable ESLint for all end-to-end tests GitOrigin-RevId: 5d085f52fabcc794b0457edbbb551500477d4110
30 lines
558 B
Plaintext
30 lines
558 B
Plaintext
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"standard",
|
|
"prettier"
|
|
],
|
|
"plugins": [
|
|
"unicorn"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
},
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
// Do not allow importing of implicit dependencies.
|
|
"import/no-extraneous-dependencies": "error",
|
|
"unicorn/prefer-node-protocol": "error"
|
|
},
|
|
"overrides": [
|
|
// Extra rules for Cypress tests
|
|
{ "files": ["**/*.spec.ts"], "extends": ["plugin:cypress/recommended"] }
|
|
],
|
|
"ignorePatterns": [
|
|
"hotfix/",
|
|
"develop/"
|
|
]
|
|
}
|