mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-12 11:40:34 +05:00
* feat: upgrade dependencies * chore: update linter and CI workflows * chore: upgrade browserslist
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"next",
|
|
"plugin:prettier/recommended",
|
|
"plugin:storybook/recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
],
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"react/prop-types": "off",
|
|
"no-param-reassign": "off",
|
|
"react/jsx-uses-react": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/jsx-filename-extension": [
|
|
1,
|
|
{
|
|
"extensions": [".js", ".ts", ".tsx"]
|
|
}
|
|
],
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
"@typescript-eslint/member-delimiter-style": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/ban-ts-ignore": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-unsafe-call": "off",
|
|
"@typescript-eslint/no-extra-semi": "off",
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
"@typescript-eslint/no-unsafe-return": "off",
|
|
"@typescript-eslint/no-floating-promises": "off",
|
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
"@typescript-eslint/unbound-method": "off"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.config.js"],
|
|
"rules": {
|
|
"@typescript-eslint/no-var-requires": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["components/**/*.stories.tsx", "pages/api/**/*.ts"],
|
|
"rules": {
|
|
"import/no-anonymous-default-export": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|