mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-24 06:16:25 +02:00
♻️ Update eslint config (#1424)
This commit is contained in:
parent
01396b6129
commit
d55131c2ab
162 changed files with 337 additions and 266 deletions
|
@ -2,8 +2,15 @@
|
|||
module.exports = function (workspaceDirPath) {
|
||||
return {
|
||||
root: true,
|
||||
extends: ["next", "turbo"],
|
||||
plugins: ["simple-import-sort", "@typescript-eslint"],
|
||||
extends: ["turbo"],
|
||||
plugins: [
|
||||
"eslint-plugin-import",
|
||||
"simple-import-sort",
|
||||
"@typescript-eslint",
|
||||
],
|
||||
env: {
|
||||
es6: true,
|
||||
},
|
||||
ignorePatterns: ["dist/", "playwright-report/"],
|
||||
globals: {
|
||||
React: true,
|
||||
|
@ -32,6 +39,7 @@ module.exports = function (workspaceDirPath) {
|
|||
"import/no-duplicates": "error",
|
||||
"no-console": ["error", { allow: ["warn", "error", "info"] }],
|
||||
"no-unused-vars": "error",
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue