Skip to content

Commit

Permalink
Merge pull request #692 from xeroxinteractive/AL-no-types
Browse files Browse the repository at this point in the history
feat: disable jsdoc types for TS
  • Loading branch information
AndrewLeedham authored Mar 25, 2021
2 parents e67e125 + 1afea0d commit bcb4b9d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/xerox-eslint-config/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,15 @@ module.exports = {
definedTags: ['remarks', 'jest-environment'],
},
],
'jsdoc/check-types': 'warn',
'jsdoc/newline-after-description': 'error',

// Disable all the types related stuff, as that is what TypeScript is for.
'jsdoc/no-types': 'off',
'jsdoc/check-types': 'off',
'jsdoc/no-undefined-types': 'off',
'jsdoc/require-returns-type': 'off',
'jsdoc/valid-types': 'off',

'jsdoc/newline-after-description': 'error',
'jsdoc/require-description': 'off',
'jsdoc/require-description-complete-sentence': 'error',
'jsdoc/require-example': 'off',
Expand All @@ -60,8 +66,6 @@ module.exports = {
'jsdoc/require-returns': 'error',
'jsdoc/require-returns-check': 'error',
'jsdoc/require-returns-description': 'error',
'jsdoc/require-returns-type': 'off',
'jsdoc/valid-types': 'off',
'jsdoc/require-jsdoc': [
'error',
{
Expand Down

0 comments on commit bcb4b9d

Please sign in to comment.