ConnectForce/.eslintrc.cjs

20 lines
511 B
JavaScript

const { join } = require("node:path");
const { PluginName, PresetName } = require("@manuth/eslint-plugin-typescript");
module.exports = {
extends: [
`plugin:${PluginName}/${PresetName.RecommendedWithTypeChecking}`
],
env: {
node: true,
es6: true
},
parserOptions: {
project: [
join(__dirname, "tsconfig.app.json"),
join(__dirname, "misc.tsconfig.json"),
join(__dirname, "src", "tests", "tsconfig.json")
]
}
};