Skip to content

Commit

Permalink
Merge branch 'epic-frontend-rewrite' into waitp-1205-logout
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaiger committed Jun 16, 2023
2 parents 0fc4c8b + 3ffd22b commit 907e92d
Show file tree
Hide file tree
Showing 187 changed files with 4,407 additions and 1,858 deletions.
333 changes: 0 additions & 333 deletions .eslintrc

This file was deleted.

11 changes: 11 additions & 0 deletions .eslintrc-js-frontend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "./.eslintrc-js.json",
"env": {
"browser": true
},
"rules": {
"jsx-a11y/href-no-hash": "off",
"react/destructuring-assignment": "off",
"react/no-unescaped-entities": "off"
}
}
45 changes: 45 additions & 0 deletions .eslintrc-js.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"extends": "@beyondessential/js",
"parser": "babel-eslint",
"rules": {
"import/no-extraneous-dependencies": "error"
},
"ignorePatterns": [
"dist/",
"build/",
"node_modules/",
".eslintrc.js"
],
"overrides": [
{
"files": [
"src/__tests__/**/*.js"
],
"extends": "@beyondessential/jest",
"rules": {
"jest/valid-expect": [
"error",
{
"maxArgs": 2
}
],
"no-new": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["src/__tests__/**/*.js"]
}
]
}
},
{
"files": [
"jest.setup.js",
"jest.config.js"
],
"env": {
"jest": true
}
}
]
}
Loading

0 comments on commit 907e92d

Please sign in to comment.