Skip to content

Commit

Permalink
build: add import/order eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
v.zheleztsov committed May 5, 2022
1 parent c75d086 commit 409ab0a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,26 @@
"import/extensions": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"import/order": [
"error",
{
"newlines-between": "always",
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
"object"
],
"pathGroups": [
{ "pattern": "@/**", "group": "internal", "position": "before" },
{ "pattern": "#/**", "group": "internal", "position": "before" }
],
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
],

"vue/component-name-in-template-casing": ["error", "kebab-case"],
"vue/max-attributes-per-line": "warn",
Expand Down

0 comments on commit 409ab0a

Please sign in to comment.