tsdoc icon indicating copy to clipboard operation
tsdoc copied to clipboard

Could you provide `eslint-plugin-tsdoc/recommended`?

Open munierujp opened this issue 3 years ago • 1 comments
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'
  }
}

munierujp avatar Apr 15 '22 00:04 munierujp

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.

octogonz avatar Apr 15 '22 18:04 octogonz