Open munierujp opened 2 years ago
My current .eslintrc.js:
.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.
eslint-plugin-tsdoc/recommended
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.
My current
.eslintrc.js
:If
eslint-plugin-tsdoc/recommended
is provided, it can be more simple.