21 lines
525 B
JavaScript
21 lines
525 B
JavaScript
const { join } = require("node:path");
|
|
const { PluginName, PresetName } = require("@manuth/eslint-plugin-typescript");
|
|
|
|
module.exports = {
|
|
extends: [
|
|
`plugin:${PluginName}/${PresetName.RecommendedWithTypeChecking}`
|
|
],
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
node: true
|
|
},
|
|
parserOptions: {
|
|
project: [
|
|
join(__dirname, "app.jsconfig.json"),
|
|
join(__dirname, "eslint.jsconfig.json"),
|
|
join(__dirname, "gulp.tsconfig.json")
|
|
]
|
|
}
|
|
};
|