-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
19 lines (17 loc) · 855 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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/isaacscript/blob/main/packages/eslint-config-isaacscript/base.js
"eslint-config-isaacscript/base",
],
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",
},
// We modify the linting rules from the base for some specific things.
rules: { "no-bitwise": 0, "no-param-reassign": { props: "false" } },
};