Skip to content

Commit

Permalink
del comm from lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Krivtsov committed Oct 14, 2024
1 parent 09b8354 commit a3d40c8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"parser": "@typescript-eslint/parser", // Specifies the ESLint parser to avoid "install babel" warning in next.config.js
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "simple-import-sort"],
"extends": ["next/core-web-vitals", "prettier"],
"rules": {
"simple-import-sort/imports": [
"error",
{
"groups": [
["^react", "^next"], // React and Next
["^@?\\w", "^\\w"], // Any third-party library, including those that don't start with '@'
["^@components"], // Components packages
["^@templates", "^@organisms", "^@molecules", "^@atoms"], // Internal packages
["^@stores", "^@hooks", "^@utils"], // Internal packages
["^@config", "^@const", "^@customTypes"], // Internal packages
["^@styles", "^@public", "^@types"], // Internal packages
["^[./]"] // Anything that starts with a dot or a slash
["^react", "^next"],
["^@?\\w", "^\\w"],
["^@components"],
["^@templates", "^@organisms", "^@molecules", "^@atoms"],
["^@stores", "^@hooks", "^@utils"],
["^@config", "^@const", "^@customTypes"],
["^@styles", "^@public", "^@types"],
["^[./]"]
]
}
]
Expand Down

0 comments on commit a3d40c8

Please sign in to comment.