tsdoc
tsdoc copied to clipboard
Could you provide `eslint-plugin-tsdoc/recommended`?
trafficstars
My current .eslintrc.js:
module.exports = {
extends: [
'standard-with-typescript',
'plugin:jest/recommended'
],
plugins: [
'tsdoc'
],
parserOptions: {
project: './tsconfig.json'
},
rules: {
'tsdoc/syntax': 'warn'
}
}
If eslint-plugin-tsdoc/recommended is provided, it can be more simple.
module.exports = {
extends: [
'standard-with-typescript',
'plugin:tsdoc/recommended',
'plugin:jest/recommended'
],
parserOptions: {
project: './tsconfig.json'
}
}
Our recommended config is in:
https://github.com/microsoft/rushstack/blob/main/eslint/eslint-config/mixins/tsdoc.js
Maybe we should provide a recommended tsdoc.json as well.