Skip to content

Commit

Permalink
correct lint config; remove additional cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke committed Dec 5, 2023
1 parent 03c258a commit 4b9f4fc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 27 deletions.
11 changes: 6 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"extends": "@folio/eslint-config-stripes",
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"overrides": [
{
"files": ["**/*.test.js", "test/jest/**/*"]
"files": [ "src/**/tests/*", "**/*.test.js", "test/**/*" ],
"rules": {
"react/prop-types": "off",
"import/prefer-default-export": "off"
}
}
],
"env": {
"jest": true
},
"rules": {
"import/no-extraneous-dependencies": "off"
}
}
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ module.exports = {
...config.setupFiles,
path.join(__dirname, './test/jest/setupFiles.js'),
],
};
};

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"@folio/stripes-core": "^10.1.0",
"core-js": "^3.6.4",
"eslint": "^7.32.0",
"history": "^4.10.1",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
Expand Down
21 changes: 0 additions & 21 deletions test/jest/helpers/translationProperties.js

This file was deleted.

0 comments on commit 4b9f4fc

Please sign in to comment.