Skip to content

Commit

Permalink
refactor(lint): eslint config update
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkArtek committed Jul 8, 2024
1 parent df2867b commit 92a64c9
Showing 1 changed file with 53 additions and 1 deletion.
54 changes: 53 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,58 @@
"settings": {
"tailwindcss": {
"groupByResponsive": true
},
"import/resolver": {
"node": {
"extensions": [
".js", ".jsx", ".ts", ".tsx"
]
}
}
},
"overrides": [
{
"files": [
"*.jsx", "*.tsx"
],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
}
},
{
"files": [
"*.mjs", "*.ts", "*.d.ts"
],
"parserOptions": {
"sourceType": "module"
}
},
{
"files": [
"*.ts", "*.tsx"
],
"rules": {
"no-undef": "off"
}
}
],
"rules": {
// Irrelevant for our use
"jsx-a11y/alt-text": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/anchor-is-valid": "off",
"object-curly-newline": [
"error",
{
"multiline": true
}
],
"jsx-a11y/no-noninteractive-element-interactions": "off",
"tailwindcss/no-custom-classname": "off",
"global-require": 0
}
}
}

0 comments on commit 92a64c9

Please sign in to comment.