fix: lint fixes and typescript version fixes

This commit is contained in:
sriram veeraghanta 2024-09-12 20:39:31 +05:30
parent 1efb067274
commit 1b0e31027e
10 changed files with 50 additions and 33 deletions

View file

@ -9,12 +9,15 @@ module.exports = {
moduleDirectory: ["node_modules", "."],
},
},
next: {
rootDir: ["."],
},
},
rules: {
"import/order": [
"error",
{
groups: ["builtin", "external", "internal", "parent", "sibling",],
groups: ["builtin", "external", "internal", "parent", "sibling"],
pathGroups: [
{
pattern: "react",
@ -39,7 +42,7 @@ module.exports = {
{
pattern: "@/**",
group: "internal",
}
},
],
pathGroupsExcludedImportTypes: ["builtin", "internal", "react"],
alphabetize: {