feat(eslint): Rule "sort-imports"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -257,7 +257,7 @@
 | 
				
			|||||||
- [ ] "semi"
 | 
					- [ ] "semi"
 | 
				
			||||||
- [ ] "semi-spacing"
 | 
					- [ ] "semi-spacing"
 | 
				
			||||||
- [ ] "semi-style"
 | 
					- [ ] "semi-style"
 | 
				
			||||||
- [ ] "sort-imports"
 | 
					- [X] "sort-imports"
 | 
				
			||||||
- [X] "sort-keys"
 | 
					- [X] "sort-keys"
 | 
				
			||||||
- [ ] "sort-vars"
 | 
					- [ ] "sort-vars"
 | 
				
			||||||
- [ ] "space-before-blocks"
 | 
					- [ ] "space-before-blocks"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -91,6 +91,20 @@
 | 
				
			|||||||
  "require-jsdoc": [
 | 
					  "require-jsdoc": [
 | 
				
			||||||
    "off"
 | 
					    "off"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 | 
					  "sort-imports": [
 | 
				
			||||||
 | 
					    "error",
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "ignoreCase": false,
 | 
				
			||||||
 | 
					      "ignoreDeclarationSort": false,
 | 
				
			||||||
 | 
					      "ignoreMemberSort": false,
 | 
				
			||||||
 | 
					      "memberSyntaxSortOrder": [
 | 
				
			||||||
 | 
					        "all",
 | 
				
			||||||
 | 
					        "multiple",
 | 
				
			||||||
 | 
					        "single",
 | 
				
			||||||
 | 
					        "none"
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
  "sort-keys": [
 | 
					  "sort-keys": [
 | 
				
			||||||
    "warn",
 | 
					    "warn",
 | 
				
			||||||
    "asc",
 | 
					    "asc",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user