refactor: integrate @walidoux/[prettier/eslint]-config
This commit is contained in:
15
.eslintrc
15
.eslintrc
@ -1,20 +1,7 @@
|
||||
{
|
||||
"plugins": ["prettier", "simple-import-sort"],
|
||||
"extends": ["standard-with-typescript", "prettier"],
|
||||
"env": {
|
||||
"node": true,
|
||||
"browser": true,
|
||||
"jest": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"project": ["./tsconfig.json"]
|
||||
},
|
||||
"extends": ["@walidoux/eslint-config"],
|
||||
"ignorePatterns": ["out", "**/*.config.js", "**/*.d.ts", "plopfile.js"],
|
||||
"rules": {
|
||||
"prettier/prettier": "error",
|
||||
"simple-import-sort/imports": "error",
|
||||
"simple-import-sort/exports": "error",
|
||||
"@next/next/no-img-element": "off"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user