Issue #115: Remove cypress config for eslint

This commit is contained in:
Andrea Mocci 2020-05-11 14:40:15 +02:00
parent 50ac55db8b
commit 22d0ba078a

View file

@ -23,10 +23,6 @@
"react/no-unused-prop-types": "error", "react/no-unused-prop-types": "error",
"react/prop-types": "error", "react/prop-types": "error",
"react/react-in-jsx-scope": "error", "react/react-in-jsx-scope": "error",
"cypress/no-assigning-return-values": "error",
"cypress/no-unnecessary-waiting": "error",
"cypress/assertion-before-screenshot": "warn",
"cypress/no-force": "warn",
"no-unused-expressions": 0, "no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2, "chai-friendly/no-unused-expressions": 2,
"indent": [0, 4] "indent": [0, 4]
@ -34,14 +30,12 @@
"extends": [ "extends": [
"eslint:recommended", "eslint:recommended",
"plugin:react/recommended", "plugin:react/recommended",
"plugin:cypress/recommended",
"airbnb" "airbnb"
], ],
"env": { "env": {
"node": true, "node": true,
"browser": true, "browser": true,
"jest": true, "jest": true
"cypress/globals": true
}, },
"globals": { "globals": {
@ -55,6 +49,6 @@
} }
}, },
"plugins": ["react", "cypress", "chai-friendly"] "plugins": ["react", "chai-friendly"]
} }