ConnectForce/.eslintrc.cjs

21 lines
522 B
JavaScript
Raw Permalink Normal View History

2022-12-04 18:32:52 +00:00
const { join } = require("node:path");
const { PluginName, PresetName } = require("@manuth/eslint-plugin-typescript");
module.exports = {
2022-12-13 17:21:38 +00:00
root: true,
2022-12-04 18:32:52 +00:00
extends: [
`plugin:${PluginName}/${PresetName.RecommendedWithTypeChecking}`
],
env: {
node: true,
browser: true
2022-12-04 18:32:52 +00:00
},
parserOptions: {
project: [
join(__dirname, "app.jsconfig.json"),
join(__dirname, "eslint.jsconfig.json"),
join(__dirname, "gulp.tsconfig.json")
2022-12-04 18:32:52 +00:00
]
}
};