summaryrefslogtreecommitdiff
path: root/src/rules/import
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-03-26 21:38:42 +0300
committerGitHub <noreply@github.com>2020-03-26 21:38:42 +0300
commit4aa0bc667bea03259f8bb26dba63795e74a86299 (patch)
treef31989196049dc78a45e29f057a375c202ed8405 /src/rules/import
parent1380e3839788779a3402a0bf4fb1a3ba57c0d162 (diff)
parent2bdf5c87990e7ebcd338f15245ca1e937a361750 (diff)
downloadeslint-config-0.0.14.tar.xz
eslint-config-0.0.14.zip
Merge pull request #2 from valentineus/developv0.0.14
Develop
Diffstat (limited to 'src/rules/import')
-rw-r--r--src/rules/import/default.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/rules/import/default.json b/src/rules/import/default.json
index 77ec282..291e45f 100644
--- a/src/rules/import/default.json
+++ b/src/rules/import/default.json
@@ -13,5 +13,30 @@
],
"import/no-webpack-loader-syntax": [
"error"
+ ],
+ "import/order": [
+ "error",
+ {
+ "alphabetize": {
+ "caseInsensitive": false,
+ "order": "asc"
+ },
+ "groups": [
+ [
+ "builtin",
+ "external"
+ ],
+ [
+ "internal",
+ "parent",
+ "sibling"
+ ],
+ [
+ "index"
+ ],
+ "unknown"
+ ],
+ "newlines-between": "always"
+ }
]
}