Files
movie-advisor/.eslintrc.json
T

37 lines
930 B
JSON

{
"extends": ["next/core-web-vitals", "plugin:tailwindcss/recommended"],
"plugins": ["simple-import-sort", "tailwindcss"],
"rules": {
"@next/next/no-img-element": "off",
"tailwindcss/classnames-order": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"quotes": ["error", "single"]
},
"settings": {
"tailwindcss": {
"config": "./tailwind.config.js"
}
},
"overrides": [
{
"files": ["*.js", "*.jsx", "*.ts", "*.tsx"],
"rules": {
"simple-import-sort/imports": [
"error",
{
"groups": [
["^react", "^@?\\w"],
["^(@|components)(/.*|$)"],
["^\\u0000"],
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"],
["^.+\\.?(css)$"]
]
}
]
}
}
]
}