mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
|   "root": true,
 | |
|   "extends": [
 | |
|     "eslint:recommended",
 | |
|     "plugin:import/typescript",
 | |
|     "plugin:@typescript-eslint/eslint-recommended",
 | |
|     "plugin:@typescript-eslint/recommended",
 | |
|     "plugin:prettier/recommended",
 | |
|     "prettier"
 | |
|   ],
 | |
|   "parser": "@typescript-eslint/parser",
 | |
|   "env": {
 | |
|     "browser": true,
 | |
|     "es6": true,
 | |
|     "node": true
 | |
|   },
 | |
|   "parserOptions": {
 | |
|     "ecmaVersion": 2020,
 | |
|     "sourceType": "module",
 | |
|     "ecmaFeatures": {
 | |
|       "arrowFunctions": true
 | |
|     }
 | |
|   },
 | |
|   "plugins": ["@typescript-eslint", "prettier"],
 | |
|   "settings": {
 | |
|     "import/parsers": {
 | |
|       "@typescript-eslint/parser": [".ts", ".tsx"]
 | |
|     },
 | |
|     "import/resolver": {
 | |
|       "typescript": {}
 | |
|     }
 | |
|   },
 | |
|   "rules": {
 | |
|     "@typescript-eslint/no-unused-vars": "off",
 | |
|     "@typescript-eslint/no-unused-vars-experimental": "error",
 | |
|     "no-unused-vars": "off",
 | |
|     "no-inner-declarations": "off",
 | |
|     "comma-dangle": ["error", "always-multiline"],
 | |
|     "global-require": "off",
 | |
|     "import/no-dynamic-require": "off",
 | |
|     "import/prefer-default-export": "off",
 | |
|     "@typescript-eslint/no-inferrable-types": "off",
 | |
|     "@typescript-eslint/explicit-function-return-type": "off",
 | |
|     "@typescript-eslint/no-var-requires": "off",
 | |
|     "@typescript-eslint/no-non-null-assertion": "off",
 | |
|     "@typescript-eslint/no-namespace": "off",
 | |
|     "@typescript-eslint/no-empty-interface": [
 | |
|       "error",
 | |
|       {
 | |
|         "allowSingleExtends": true
 | |
|       }
 | |
|     ]
 | |
|   }
 | |
| }
 |