Last active
October 8, 2021 15:59
-
-
Save tim-rohrer/1147ccbe2cc9ca6e772777537305dd95 to your computer and use it in GitHub Desktop.
This file contains 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": { | |
"browser": false, | |
"es2021": true, | |
"jest": true | |
}, | |
"settings": { | |
"import/resolver": { | |
"node": { | |
"paths": ["src"], | |
"extensions": [".js", ".ts"] | |
} | |
} | |
}, | |
"parser": "@typescript-eslint/parser", | |
"parserOptions": { | |
"ecmaVersion": 2021, | |
"sourceType": "module" | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:@typescript-eslint/recommended", | |
"prettier" | |
], | |
"plugins": [ | |
"@typescript-eslint", | |
"node", | |
"prettier" | |
], | |
"overrides": [{ | |
"files": "./src/*", | |
"plugins": ["jest"], | |
"extends": [ | |
"plugin:jest/recommended", | |
"plugin:jest/style" | |
] | |
}, { | |
"files": "./test/*", | |
"extends": [ | |
"plugin:cypress/recommended" | |
], | |
"plugins": [ | |
"cypress" | |
] | |
}], | |
"rules": { | |
"no-unused-vars": "off", | |
"@typescript-eslint/no-unused-vars": ["error"], | |
"no-shadow": "off", | |
"@typescript-eslint/no-shadow": ["error"], | |
"import/extensions": 0, | |
"lines-between-class-members": ["error", "always", { | |
"exceptAfterSingleLine": true | |
}], | |
"quotes": ["error", "double"], | |
"prettier/prettier": ["error"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment