Skip to content

Commit 51e253f

Browse files
author
Loïc Mangeonjean
committed
fix: add missing eslint rule
1 parent ab7e700 commit 51e253f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.eslintrc.cjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@ module.exports = {
66
extends: [
77
'@codingame/eslint-config',
88
'@codingame/eslint-config-react'
9-
]
9+
],
10+
rules: {
11+
'import/extensions': [
12+
'error',
13+
'ignorePackages'
14+
]
15+
}
1016
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"sourceMap": true,
2323
"target": "ES2022"
2424
},
25-
"include": ["src"],
25+
"include": ["src", ".eslintrc.cjs"],
2626
"exclude": [
2727
"dist",
2828
"node_modules"

0 commit comments

Comments
 (0)