Created
September 11, 2023 02:40
-
-
Save objectfoo/f55926667fcabb89a1901055d5abed83 to your computer and use it in GitHub Desktop.
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
| module.exports = { | |
| "env": { | |
| "es2021": true, | |
| "node": true | |
| }, | |
| "extends": [ | |
| "eslint:recommended", | |
| ], | |
| "rules": { | |
| "indent": [ | |
| "error", | |
| "tab" | |
| ], | |
| "linebreak-style": [ | |
| "error", | |
| "windows" | |
| ], | |
| "quotes": [ | |
| "error", | |
| "double" | |
| ], | |
| "semi": [ | |
| "error", | |
| "always" | |
| ] | |
| }, | |
| "overrides": [ | |
| { | |
| "files": ["src/**/*"], | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:@typescript-eslint/recommended-type-checked", | |
| "plugin:@typescript-eslint/stylistic-type-checked", | |
| ], | |
| "parser": "@typescript-eslint/parser", | |
| "parserOptions": { | |
| "ecmaVersion": "latest", | |
| "sourceType": "module", | |
| "tsconfigRootDir": __dirname, | |
| "project": ["./tsconfig.json"], | |
| }, | |
| "plugins": [ | |
| "@typescript-eslint" | |
| ], | |
| } | |
| ] | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment