27cdd1c954
* tidy: added eslintrc and prettierrc rules * tidy: formated the files via ‚yarn format‘ * import sort improvements * format script regex fix * replace eslint import severity to warning * remove staged file Co-authored-by: Gustavo Mauricio <gustavo.mauricio58@gmail.com>
20 lines
363 B
JSON
20 lines
363 B
JSON
{
|
|
"extends": "next/core-web-vitals",
|
|
"rules": {
|
|
"sort-imports": [
|
|
"warn",
|
|
{
|
|
"ignoreCase": true,
|
|
"ignoreDeclarationSort": true
|
|
}
|
|
],
|
|
"import/order": [
|
|
"warn",
|
|
{
|
|
"newlines-between": "always",
|
|
"groups": ["external", "builtin", "internal", "sibling", "parent", "index"]
|
|
}
|
|
]
|
|
}
|
|
}
|