ConnectForce/.eslintrc.cjs

20 lines
513 B
JavaScript
Raw 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"),
join(__dirname, "tsconfig.eslint.json"),
join(__dirname, "src", "tests", "tsconfig.json")
]
}
};