44 lines
1012 B
JSON
44 lines
1012 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": ["next", "prettier", "airbnb"],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react", "prettier"],
|
|
"rules": {
|
|
"linebreak-style": ["error", "windows"],
|
|
"comma-dangle": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/jsx-filename-extension": [
|
|
2,
|
|
{ "extensions": [".js", ".jsx", ".ts", ".tsx"] }
|
|
],
|
|
"react/forbid-prop-types": "off",
|
|
"react/require-default-props": [
|
|
"error",
|
|
{
|
|
"ignoreFunctionalComponents": true
|
|
}
|
|
],
|
|
"import/extensions": "off",
|
|
"object-curly-newline": [
|
|
"error",
|
|
{
|
|
"ObjectExpression": "always",
|
|
"ObjectPattern": { "multiline": true },
|
|
"ImportDeclaration": "never",
|
|
"ExportDeclaration": { "multiline": true, "minProperties": 3 }
|
|
}
|
|
]
|
|
}
|
|
}
|