[IMPROVE] disable the "missing file extension" rule at eslintrc

This commit is contained in:
AlexAlexandre 2021-07-20 17:31:08 -03:00
parent b795b6fc5a
commit 4d07101a56
1 changed files with 10 additions and 0 deletions

View File

@ -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"]
}],