ConnectForce/.eslintrc.cjs

20 lines
511 B
JavaScript
Raw Permalink Normal View History

2022-12-01 23:10:48 +00:00
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"),
2022-12-01 23:58:56 +00:00
join(__dirname, "misc.tsconfig.json"),
2022-12-01 23:10:48 +00:00
join(__dirname, "src", "tests", "tsconfig.json")
]
}
};