mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-11 04:56:40 +00:00
* 🧪install cypress run yarn cypress to open E2E test runner run yarn test to tun unit tests * 🔧 set cypress up - define a baseUrl in cypress.json - create a smoke.spec.js to check config. * fix error in README
19 lines
346 B
JavaScript
19 lines
346 B
JavaScript
module.exports = {
|
|
extends: ["react-app", "prettier"],
|
|
plugins: ["prettier", "jest", "cypress"],
|
|
parser: "babel-eslint",
|
|
env: {
|
|
browser: true,
|
|
"cypress/globals": true,
|
|
es6: true,
|
|
"jest/globals": true,
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: "detect",
|
|
},
|
|
},
|
|
rules: {
|
|
"prettier/prettier": "warn",
|
|
},
|
|
};
|