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