Skip to content

Commit 4b0f15e

Browse files
committed
📦 update eslint version
1 parent 6ab727d commit 4b0f15e

File tree

5 files changed

+380
-301
lines changed

5 files changed

+380
-301
lines changed

.eslintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
},
66
"extends": ["alloy", "alloy/react", "alloy/typescript"],
77
"plugins": ["react", "@typescript-eslint"],
8+
"settings": {
9+
"react": {
10+
"version": "detect"
11+
}
12+
},
813
"rules": {
914
"no-console": 1,
1015
"react/prop-types": 0,

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ module.exports = {
55
},
66
extends: ['alloy', 'alloy/react', 'alloy/typescript'],
77
plugins: ['react', '@typescript-eslint'],
8+
settings: {
9+
react: {
10+
version: 'detect'
11+
}
12+
},
813
rules: {
914
'no-console': 1,
1015
'react/prop-types': 0,

0 commit comments

Comments
 (0)