diff options
author | Valentin Popov <info@valentineus.link> | 2020-03-26 21:38:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 21:38:42 +0300 |
commit | 4aa0bc667bea03259f8bb26dba63795e74a86299 (patch) | |
tree | f31989196049dc78a45e29f057a375c202ed8405 /src/rules/import | |
parent | 1380e3839788779a3402a0bf4fb1a3ba57c0d162 (diff) | |
parent | 2bdf5c87990e7ebcd338f15245ca1e937a361750 (diff) | |
download | eslint-config-4aa0bc667bea03259f8bb26dba63795e74a86299.tar.xz eslint-config-4aa0bc667bea03259f8bb26dba63795e74a86299.zip |
Merge pull request #2 from valentineus/developv0.0.14
Develop
Diffstat (limited to 'src/rules/import')
-rw-r--r-- | src/rules/import/default.json | 25 |
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" + } ] } |