Skip to content

Commit ce73e0b

Browse files
authored
Merge pull request #4 from chrispader/@chrispader/fix-eslint-config-repo-missing
Fix: Remove missing eslint config repo as dependency
2 parents d593795 + 08dc63a commit ce73e0b

File tree

3 files changed

+879
-517
lines changed

3 files changed

+879
-517
lines changed

.eslintrc.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
module.exports = {
2-
extends: 'ls-react',
2+
parserOptions: {
3+
sourceType: 'module',
4+
ecmaVersion: 2022,
5+
},
6+
extends: ['eslint:recommended', 'plugin:react/recommended'],
7+
settings: {
8+
react: {
9+
version: 'detect',
10+
},
11+
},
312
env: {
13+
node: true,
414
jest: true,
15+
es6: true,
516
},
617
globals: {
718
shallow: true,
@@ -11,5 +22,6 @@ module.exports = {
1122
'lodash/import-scope': 0,
1223
'lodash/prefer-lodash-method': 0,
1324
'lodash/prefer-noop': 0,
25+
'react/prop-types': 'off',
1426
},
1527
};

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"enzyme": "^3.7.0",
3434
"enzyme-adapter-react-16": "^1.7.0",
3535
"enzyme-to-json": "^3.3.5",
36-
"eslint-config-ls-react": "https://github.com/lawnstarter/eslint-config-ls-react#3.0.0",
36+
"eslint": "^8.29.0",
37+
"eslint-plugin-react": "^7.31.11",
3738
"husky": "^2.4.0",
3839
"jest": "^23.6.0",
3940
"prettier": "^2.0.5",

0 commit comments

Comments
 (0)