Fix eslint errors
This commit is contained in:
parent
d275bac0a9
commit
aaef5091b0
1 changed files with 19 additions and 0 deletions
|
@ -20,5 +20,24 @@ module.exports = {
|
|||
"react/jsx-filename-extension": [1, { extensions: [".tsx", ".ts"] }],
|
||||
"consistent-return": ["error", { treatUndefinedAsUnspecified: false }],
|
||||
quotes: ["error", "double"],
|
||||
"import/no-extraneous-dependencies": ["error", { devDependencies: true }],
|
||||
"import/extensions": [
|
||||
"error",
|
||||
"ignorePackages",
|
||||
{
|
||||
js: "never",
|
||||
jsx: "never",
|
||||
ts: "never",
|
||||
tsx: "never",
|
||||
},
|
||||
],
|
||||
},
|
||||
settings: {
|
||||
"import/resolver": {
|
||||
node: {
|
||||
extensions: [".js", ".jsx", ".ts", ".tsx"],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
};
|
||||
|
|
Reference in a new issue