BB-Trinket-Edit/.eslintrc.js
2021-11-23 07:53:18 -04:00

24 lines
871 B
JavaScript

// 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 IsaacScript mod config
// https://github.com/IsaacScript/eslint-config-isaacscript/blob/main/mod.js
"eslint-config-isaacscript/mod",
],
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
// (listed in alphabetical order)
rules: {
// Insert changed or disabled rules here, if necessary
},
};