Skip to content

Commit 0f1991d

Browse files
author
Christoph Pader
committed
Merge branch 'master' into fix/scroll-to-input-on-open
2 parents 48a788b + ce73e0b commit 0f1991d

File tree

3 files changed

+875
-513
lines changed

3 files changed

+875
-513
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
@@ -34,7 +34,8 @@
3434
"enzyme": "^3.7.0",
3535
"enzyme-adapter-react-16": "^1.7.0",
3636
"enzyme-to-json": "^3.3.5",
37-
"eslint-config-ls-react": "https://github.com/lawnstarter/eslint-config-ls-react#3.0.0",
37+
"eslint": "^8.29.0",
38+
"eslint-plugin-react": "^7.31.11",
3839
"husky": "^2.4.0",
3940
"jest": "^23.6.0",
4041
"prettier": "^2.0.5",

0 commit comments

Comments
 (0)