chore: add warning coverage for cyclic includes
This commit is contained in:
		
							parent
							
								
									5089f67146
								
							
						
					
					
						commit
						acfb28f1f2
					
				
							
								
								
									
										18
									
								
								.eslintrc
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								.eslintrc
									
									
									
									
									
								
							@ -1,10 +1,12 @@
 | 
			
		||||
{
 | 
			
		||||
    "plugins": ["@typescript-eslint", "prettier", "import"],
 | 
			
		||||
    "extends": [
 | 
			
		||||
        "eslint:recommended",
 | 
			
		||||
        "plugin:@typescript-eslint/recommended",
 | 
			
		||||
        "plugin:@typescript-eslint/recommended-requiring-type-checking"
 | 
			
		||||
        "plugin:@typescript-eslint/recommended-requiring-type-checking",
 | 
			
		||||
        "plugin:import/recommended",
 | 
			
		||||
        "plugin:import/typescript"
 | 
			
		||||
    ],
 | 
			
		||||
    "plugins": ["@typescript-eslint", "prettier"],
 | 
			
		||||
    "env": {
 | 
			
		||||
        "browser": true,
 | 
			
		||||
        "es6": true,
 | 
			
		||||
@ -26,11 +28,19 @@
 | 
			
		||||
        "no-case-declarations": "error",
 | 
			
		||||
        "prettier/prettier": "error",
 | 
			
		||||
        "no-mixed-spaces-and-tabs": "error",
 | 
			
		||||
        "require-await": "off",
 | 
			
		||||
        "@typescript-eslint/require-await": "error"
 | 
			
		||||
        "@typescript-eslint/require-await": "error",
 | 
			
		||||
        "import/no-named-as-default-member": "off",
 | 
			
		||||
        "import/no-cycle": "warn"
 | 
			
		||||
    },
 | 
			
		||||
    "parser": "@typescript-eslint/parser",
 | 
			
		||||
    "parserOptions": {
 | 
			
		||||
        "project": "./tsconfig.json"
 | 
			
		||||
    },
 | 
			
		||||
    "settings": {
 | 
			
		||||
        "import/extensions": [ ".ts" ],
 | 
			
		||||
        "import/resolver": {
 | 
			
		||||
            "typescript": true,
 | 
			
		||||
            "node": true
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2188
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2188
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -47,6 +47,8 @@
 | 
			
		||||
    "@typescript-eslint/eslint-plugin": "^8.28.0",
 | 
			
		||||
    "@typescript-eslint/parser": "^8.28.0",
 | 
			
		||||
    "eslint": "^8",
 | 
			
		||||
    "eslint-import-resolver-typescript": "^4.4.4",
 | 
			
		||||
    "eslint-plugin-import": "^2.32.0",
 | 
			
		||||
    "eslint-plugin-prettier": "^5.2.5",
 | 
			
		||||
    "prettier": "^3.5.3",
 | 
			
		||||
    "tree-kill": "^1.2.2"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user