bitburner-src/.eslintrc.js

28 lines
744 B
JavaScript
Raw Normal View History

module.exports = {
2021-09-05 01:09:30 +02:00
env: {
browser: true,
commonjs: true,
es6: false,
},
2022-05-25 17:43:43 +02:00
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
2022-07-19 18:19:32 +02:00
"plugin:@typescript-eslint/recommended-requiring-type-checking",
2022-05-25 17:43:43 +02:00
],
2021-09-05 01:09:30 +02:00
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 8,
sourceType: "module",
ecmaFeatures: {
experimentalObjectRestSpread: true,
},
2022-05-25 17:43:43 +02:00
project: ["./tsconfig.json", "./test/tsconfig.json", "./tools/tsconfig.json", "./test/cypress/tsconfig.json"],
2021-09-05 01:09:30 +02:00
},
plugins: ["@typescript-eslint"],
2022-07-19 17:43:10 +02:00
extends: ["plugin:@typescript-eslint/recommended"],
2021-09-05 01:09:30 +02:00
rules: {
2022-07-19 17:43:10 +02:00
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
2021-09-05 01:09:30 +02:00
},
};