-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy patheslint.config.js
More file actions
27 lines (26 loc) · 687 Bytes
/
eslint.config.js
File metadata and controls
27 lines (26 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig } from 'eslint/config'
import js from '@eslint/js'
import ts from 'typescript-eslint'
import globals from 'globals'
export default defineConfig({
files: [ "source/*.ts" ],
plugins: { js },
extends: [
js.configs.recommended,
ts.configs.recommendedTypeChecked
],
languageOptions: {
globals: globals.node,
parserOptions: {
projectService: true
}
},
rules: {
"no-debugger": "off",
"no-unused-vars": "off",
"prefer-const": "warn",
"no-inner-declarations": "off",
"no-cond-assign": "off",
"@typescript-eslint/no-unused-vars": "off",
}
})