website refactor
This commit is contained in:
@@ -1,44 +1,14 @@
|
||||
{
|
||||
"root": true,
|
||||
"ignorePatterns": ["lib/types/generated/**", "**/*.test.ts", "**/*.test.tsx"],
|
||||
"extends": ["next/core-web-vitals", "plugin:import/recommended", "plugin:import/typescript"],
|
||||
"plugins": ["boundaries", "import", "@typescript-eslint", "unused-imports"],
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"typescript": {}
|
||||
},
|
||||
"boundaries/elements": [
|
||||
{
|
||||
"type": "website",
|
||||
"pattern": ["**/*"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"rules": {
|
||||
"react/no-unescaped-entities": "off",
|
||||
"@next/next/no-img-element": "off",
|
||||
"react-hooks/exhaustive-deps": "off",
|
||||
"react-hooks/rules-of-hooks": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"import/no-default-export": "off",
|
||||
"import/no-named-as-default-member": "off",
|
||||
"no-restricted-syntax": "off",
|
||||
"boundaries/element-types": [
|
||||
2,
|
||||
{
|
||||
"default": "disallow",
|
||||
"rules": [
|
||||
{
|
||||
"from": ["website"],
|
||||
"allow": ["website"]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"unused-imports/no-unused-imports": "off",
|
||||
"unused-imports/no-unused-vars": "off"
|
||||
},
|
||||
"extends": [
|
||||
"next/core-web-vitals",
|
||||
"plugin:import/recommended",
|
||||
"plugin:import/typescript"
|
||||
],
|
||||
"ignorePatterns": [
|
||||
"lib/types/generated/**",
|
||||
"**/*.test.ts",
|
||||
"**/*.test.tsx"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
@@ -56,5 +26,54 @@
|
||||
"no-restricted-syntax": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"plugins": [
|
||||
"boundaries",
|
||||
"import",
|
||||
"@typescript-eslint",
|
||||
"unused-imports"
|
||||
],
|
||||
"root": true,
|
||||
"rules": {
|
||||
"@next/next/no-img-element": "error",
|
||||
"@typescript-eslint/no-explicit-any": "error",
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"boundaries/element-types": [
|
||||
2,
|
||||
{
|
||||
"default": "disallow",
|
||||
"rules": [
|
||||
{
|
||||
"allow": [
|
||||
"website"
|
||||
],
|
||||
"from": [
|
||||
"website"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"import/no-default-export": "error",
|
||||
"import/no-named-as-default-member": "error",
|
||||
"no-restricted-syntax": "error",
|
||||
"react-hooks/exhaustive-deps": "error",
|
||||
"react-hooks/rules-of-hooks": "error",
|
||||
"react/no-unescaped-entities": "error",
|
||||
"unused-imports/no-unused-imports": "off",
|
||||
"unused-imports/no-unused-vars": "off"
|
||||
},
|
||||
"settings": {
|
||||
"boundaries/elements": [
|
||||
{
|
||||
"pattern": [
|
||||
"**/*"
|
||||
],
|
||||
"type": "website"
|
||||
}
|
||||
],
|
||||
"import/resolver": {
|
||||
"typescript": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user