ece136c92e
* add GitHub GraphQL api initial support * support mutiple backends for e2e tests - initial commit * add github backend e2e test (currently skipped), fix bugs per tests * refactor e2e tests, add fork workflow tests, support fork workflow in GraphQL api * remove log message that might contain authentication token * return empty error when commit is not found when using GraphQL (align with base class) * disable github backend tests * fix bugs introduced after rebase of GraphQL and OpenAuthoring features * test: update tests per openAuthoring changes, split tests into multiple files * fix: pass in headers for pagination requests, avoid async iterator as it requires a polyfill on old browsers * test(e2e): disable github backend tests
33 lines
759 B
Plaintext
33 lines
759 B
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:cypress/recommended"],
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"node": true,
|
|
"jest": true,
|
|
"cypress/globals": true
|
|
},
|
|
"globals": {
|
|
"NETLIFY_CMS_VERSION": false,
|
|
"NETLIFY_CMS_APP_VERSION": false,
|
|
"NETLIFY_CMS_CORE_VERSION": false,
|
|
"CMS_ENV": false
|
|
},
|
|
"rules": {
|
|
"no-console": [0],
|
|
"react/prop-types": [1],
|
|
"no-duplicate-imports": "error",
|
|
"emotion/jsx-import": "error",
|
|
"emotion/no-vanilla": "error",
|
|
"emotion/import-from-emotion": "error",
|
|
"emotion/styled-import": "error"
|
|
},
|
|
"plugins": ["emotion", "cypress"],
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|