ConnectForce/.eslintrc.cjs

21 lines
525 B
JavaScript
Raw 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 = {
extends: [
`plugin:${PluginName}/${PresetName.RecommendedWithTypeChecking}`
],
env: {
2022-12-07 07:09:14 +00:00
browser: true,
es6: true,
node: true
2022-12-04 18:32:52 +00:00
},
parserOptions: {
project: [
2022-12-04 19:47:18 +00:00
join(__dirname, "app.jsconfig.json"),
join(__dirname, "eslint.jsconfig.json"),
join(__dirname, "gulp.tsconfig.json")
2022-12-04 18:32:52 +00:00
]
}
};