jsoncrack.com/.eslintrc.json

31 lines
945 B
JSON
Raw Normal View History

2022-01-30 13:09:56 +03:00
{
2022-02-03 18:10:53 +03:00
"rules": {
2022-09-12 22:28:33 +03:00
"@next/next/no-img-element": "off",
2023-05-14 13:35:14 +03:00
"unused-imports/no-unused-imports": "error",
"prettier/prettier": "error",
"space-in-parens": "error",
"no-empty": "error",
"no-multiple-empty-lines": "error",
2023-07-16 15:44:10 +03:00
"no-irregular-whitespace": "error",
"strict": ["error", "never"],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double", { "avoidEscape": true }],
"semi": ["error", "always"],
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"] }
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
2022-02-03 22:06:58 +03:00
},
2023-07-16 22:38:34 +03:00
"extends": ["next/core-web-vitals", "prettier"],
2023-05-14 13:35:14 +03:00
"plugins": ["prettier", "unused-imports"]
2022-02-03 22:06:58 +03:00
}