For projects with a tsconfig.json
:
{
"extends": "@socketsecurity",
"root": true,
"parserOptions": {
"project": "./tsconfig.json"
}
}
For projects without a tsconfig.json
:
{
"extends": "@socketsecurity/eslint-config/tsconfig-less",
"root": true
}
For projects being typed with JSDoc:
{
"extends": "@socketsecurity/eslint-config/jsdoc",
"root": true,
"parserOptions": {
"project": "./tsconfig.json"
}
}