2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/.eslintrc.json

41 lines
797 B
JSON
Raw Normal View History

2021-10-24 05:48:06 +02:00
{
"extends": [
"standard-with-typescript",
"next",
"next/core-web-vitals",
2021-12-28 16:06:58 +01:00
"plugin:storybook/recommended",
2021-10-24 05:48:06 +02:00
"prettier"
],
"plugins": ["unicorn", "import", "prettier"],
2021-10-24 05:48:06 +02:00
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"node": true,
"browser": true,
"jest": true
},
"rules": {
"prettier/prettier": "error",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal"],
"newlines-between": "always"
}
],
2021-10-24 05:48:06 +02:00
"unicorn/prefer-node-protocol": "error",
"unicorn/prevent-abbreviations": [
"error",
{
"replacements": {
"props": {
"properties": false
}
}
}
],
"@typescript-eslint/no-namespace": "off"
2021-10-24 05:48:06 +02:00
}
}