Skip to content

Commit 1b43feb

Browse files
committed
chore: Improve eslint syntaxes
1 parent bc70701 commit 1b43feb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = {
44
es6: true
55
},
66
extends: [
7-
'@codingame/eslint-config', '@codingame/eslint-config-react'
7+
'@codingame/eslint-config',
8+
'@codingame/eslint-config-react'
89
]
910
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"build": "npm run lint && npm run compile",
77
"compile": "tsc",
8-
"lint": "eslint --ext .ts --ext .tsx src/"
8+
"lint": "eslint --ext .ts,.tsx src/"
99
},
1010
"repository": {
1111
"type": "git",

0 commit comments

Comments
 (0)