forked from hanabi/hanabi.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
38 lines (34 loc) · 1.38 KB
/
.eslintrc.js
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
28
29
30
31
32
33
34
35
36
37
38
// This is the configuration file for ESLint, the TypeScript linter:
// https://eslint.org/docs/user-guide/configuring
module.exports = {
extends: [
// The linter base is the shared IsaacScript config:
// https://github.com/IsaacScript/eslint-config-isaacscript/blob/main/base.js
"eslint-config-isaacscript/base",
],
env: {
browser: true,
},
ignorePatterns: ["docusaurus/**", "build/**", "!.remarkrc.mjs"],
parserOptions: {
// ESLint needs to know about the project's TypeScript settings in order for TypeScript-specific
// things to lint correctly. We do not point this at "./tsconfig.json" because certain files
// (such at this file) should be linted but not included in the actual project output.
project: "./tsconfig.eslint.json",
extraFileExtensions: [".mjs"],
},
rules: {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"import/no-unresolved": "off",
"isaacscript/no-let-any": "off",
"isaacscript/no-object-any": "off",
"no-alert": "off",
},
};