Skip to content

Instantly share code, notes, and snippets.

@objectfoo
Created September 11, 2023 02:40
Show Gist options
  • Select an option

  • Save objectfoo/f55926667fcabb89a1901055d5abed83 to your computer and use it in GitHub Desktop.

Select an option

Save objectfoo/f55926667fcabb89a1901055d5abed83 to your computer and use it in GitHub Desktop.
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