ConnectForce/.eslintrc.cjs

18 lines
398 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: {
2022-12-07 07:09:14 +00:00
node: true
2022-12-04 18:32:52 +00:00
},
parserOptions: {
project: [
2022-12-13 17:21:38 +00:00
join(__dirname, "eslint.jsconfig.json")
2022-12-04 18:32:52 +00:00
]
}
};