Last active
          August 10, 2020 13:05 
        
      - 
      
- 
        Save vschoener/1f01f7ad94cf72ea116ecc9de4c0da86 to your computer and use it in GitHub Desktop. 
    eslintrc Medium Setup TypeScript project with art
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "root": true, | |
| "env": { | |
| "node": true | |
| }, | |
| "extends": [ | |
| "plugin:@typescript-eslint/recommended", | |
| "prettier/@typescript-eslint", | |
| "plugin:prettier/recommended", | |
| "plugin:import/errors", | |
| "plugin:import/warnings", | |
| "plugin:import/typescript" | |
| ], | |
| "settings": { | |
| "import/parsers": { | |
| "@typescript-eslint/parser": [".ts"] | |
| }, | |
| "import/resolver": { | |
| "typescript": {} | |
| } | |
| }, | |
| "parser": "@typescript-eslint/parser", | |
| "parserOptions": { | |
| "project": "./tsconfig.json", | |
| "tsconfigRootDir": "./" | |
| }, | |
| "plugins": ["@typescript-eslint", "import"], | |
| "rules": { | |
| "prettier/prettier": ["error"], | |
| "@typescript-eslint/no-explicit-any": 2, | |
| "@typescript-eslint/no-unused-vars": 2, | |
| "@typescript-eslint/explicit-function-return-type": "off", | |
| "@typescript-eslint/explicit-member-accessibility": ["error"], | |
| "@typescript-eslint/member-ordering": ["error"], | |
| "@typescript-eslint/interface-name": ["off"], | |
| "@typescript-eslint/arrow-parens": ["off"], | |
| "@typescript-eslint/object-literal-sort-keys": ["off"], | |
| "import/no-unresolved": "error", | |
| "import/named": 2, | |
| "import/namespace": 2, | |
| "import/order": [ | |
| "error", | |
| { | |
| "newlines-between": "always", | |
| "groups": [ | |
| ["builtin", "external"], | |
| ["internal", "parent", "sibling", "index"] | |
| ] | |
| } | |
| ] | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment