[IMPROVE] disable the "missing file extension" rule at eslintrc
This commit is contained in:
parent
b795b6fc5a
commit
4d07101a56
10
.eslintrc.js
10
.eslintrc.js
|
@ -33,6 +33,16 @@ module.exports = {
|
|||
"mocha": true
|
||||
},
|
||||
"rules": {
|
||||
"import/extensions": [
|
||||
"error",
|
||||
"ignorePackages",
|
||||
{
|
||||
"js": "warning",
|
||||
"jsx": "warning",
|
||||
"ts": "warning",
|
||||
"tsx": "warning"
|
||||
}
|
||||
],
|
||||
"react/jsx-filename-extension": [1, {
|
||||
"extensions": [".js", ".jsx", ".ts", ".tsx"]
|
||||
}],
|
||||
|
|
Loading…
Reference in New Issue