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