mirror this repo: https://github.com/The-Run-Philosophy-Organization/run.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.5 KiB
55 lines
1.5 KiB
{
|
|
"plugins": ["prettier"],
|
|
"extends": ["next", "next/core-web-vitals", "prettier"],
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"camelcase": "off",
|
|
"import/prefer-default-export": "off",
|
|
"react/jsx-filename-extension": "off",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/no-unused-prop-types": "off",
|
|
"react/require-default-props": "off",
|
|
"import/extensions": [
|
|
"error",
|
|
"ignorePackages",
|
|
{
|
|
"ts": "never",
|
|
"tsx": "never",
|
|
"js": "never",
|
|
"jsx": "never"
|
|
}
|
|
],
|
|
"quotes": "off",
|
|
"jsx-a11y/anchor-is-valid": [
|
|
"error",
|
|
{
|
|
"components": ["Link"],
|
|
"specialLink": ["hrefLeft", "hrefRight"],
|
|
"aspects": ["invalidHref", "preferButton"]
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": "**/*.+(ts|tsx)",
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint/eslint-plugin"],
|
|
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
|
|
"rules": {
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"no-use-before-define": [0],
|
|
"@typescript-eslint/no-use-before-define": [1],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/quotes": [
|
|
2,
|
|
"backtick",
|
|
{
|
|
"avoidEscape": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|