forked from bitburner-official/vscode-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
26 lines (26 loc) · 679 Bytes
/
.eslintrc.js
File metadata and controls
26 lines (26 loc) · 679 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
module.exports = {
env: {
browser: true,
commonjs: true,
es6: false,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 8,
sourceType: "module",
ecmaFeatures: {
experimentalObjectRestSpread: true,
},
project: ['./tsconfig.json'],
tsconfigRootDir: __dirname,
},
plugins: ["@typescript-eslint"],
ignorePatterns: ['*.d.ts', '*.js'],
rules: {
'no-constant-condition': ['off'],
"@typescript-eslint/no-floating-promises": "error",
}
}