2018-08-07 14:46:54 -06:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
2019-09-03 21:56:20 +03:00
|
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:cypress/recommended"],
|
2018-08-07 14:46:54 -06:00
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
2019-09-03 21:56:20 +03:00
|
|
|
"jest": true,
|
|
|
|
"cypress/globals": true
|
2018-08-07 14:46:54 -06:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"NETLIFY_CMS_VERSION": false,
|
2019-04-04 11:16:06 -07:00
|
|
|
"NETLIFY_CMS_APP_VERSION": false,
|
2018-08-07 14:46:54 -06:00
|
|
|
"NETLIFY_CMS_CORE_VERSION": false,
|
|
|
|
"CMS_ENV": false
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-console": [0],
|
2019-10-22 19:48:45 +03:00
|
|
|
"react/prop-types": [0],
|
2019-03-15 10:19:57 -04:00
|
|
|
"no-duplicate-imports": "error",
|
|
|
|
"emotion/jsx-import": "error",
|
|
|
|
"emotion/no-vanilla": "error",
|
|
|
|
"emotion/import-from-emotion": "error",
|
|
|
|
"emotion/styled-import": "error"
|
|
|
|
},
|
2019-09-03 21:56:20 +03:00
|
|
|
"plugins": ["emotion", "cypress"],
|
2019-03-15 10:19:57 -04:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
2019-09-03 21:56:20 +03:00
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
2018-08-07 14:46:54 -06:00
|
|
|
}
|