Skip to content

Commit

Permalink
prepare remix v2 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
rphlmr authored Aug 31, 2023
1 parent b9f20bc commit 77ba4e2
Show file tree
Hide file tree
Showing 76 changed files with 3,402 additions and 3,326 deletions.
144 changes: 72 additions & 72 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
{
"plugins": ["tailwindcss"],
"extends": [
"@remix-run/eslint-config",
"@remix-run/eslint-config/node",
"plugin:tailwindcss/recommended",
"prettier"
],
"parserOptions": {
"project": ["./tsconfig.json"]
},
"settings": {
// Help eslint-plugin-tailwindcss to parse Tailwind classes outside of className
"tailwindcss": {
"callees": ["tw"]
},
"jest": {
"version": 27
}
},
"rules": {
"no-console": "warn",
"arrow-body-style": ["warn", "as-needed"],
// @typescript-eslint
"@typescript-eslint/no-duplicate-imports": "error",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"vars": "all",
"args": "all",
"argsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"ignoreRestSiblings": false
}
],
//import
"import/no-cycle": "error",
"import/no-unresolved": "error",
"import/no-default-export": "warn",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal"],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["react"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
},
"overrides": [
{
"files": [
"./app/root.tsx",
"./app/entry.client.tsx",
"./app/entry.server.tsx",
"./app/routes/**/*.tsx"
],
"rules": {
"import/no-default-export": "off"
}
}
]
"plugins": ["tailwindcss"],
"extends": [
"@remix-run/eslint-config",
"@remix-run/eslint-config/node",
"plugin:tailwindcss/recommended",
"prettier"
],
"parserOptions": {
"project": ["./tsconfig.json"]
},
"settings": {
// Help eslint-plugin-tailwindcss to parse Tailwind classes outside of className
"tailwindcss": {
"callees": ["tw"]
},
"jest": {
"version": 27
}
},
"rules": {
"no-console": "warn",
"arrow-body-style": ["warn", "as-needed"],
// @typescript-eslint
"@typescript-eslint/no-duplicate-imports": "error",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"vars": "all",
"args": "all",
"argsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"ignoreRestSiblings": false
}
],
//import
"import/no-cycle": "error",
"import/no-unresolved": "error",
"import/no-default-export": "warn",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal"],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["react"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
},
"overrides": [
{
"files": [
"./app/root.tsx",
"./app/entry.client.tsx",
"./app/entry.server.tsx",
"./app/routes/**/*.tsx"
],
"rules": {
"import/no-default-export": "off"
}
}
]
}
Loading

0 comments on commit 77ba4e2

Please sign in to comment.