feat(import): order
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		| @@ -331,7 +331,7 @@ | ||||
| - [ ] "no-unused-modules" | ||||
| - [ ] "no-useless-path-segments" | ||||
| - [X] "no-webpack-loader-syntax" | ||||
| - [ ] "order" | ||||
| - [X] "order" | ||||
| - [ ] "prefer-default-export" | ||||
| - [ ] "unambiguous" | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
|     } | ||||
|   ] | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user