You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
786 B
24 lines
786 B
3 years ago
|
module.exports = {
|
||
|
// Note that jsdoc is already in the `plugins` array thanks to
|
||
|
// @metamask/eslint-config — this just extends the config there
|
||
|
rules: {
|
||
|
// Allow tag `jest-environment` to work around Jest bug
|
||
|
// See: https://github.com/facebook/jest/issues/7780
|
||
|
'jsdoc/check-tag-names': ['error', { definedTags: ['jest-environment'] }],
|
||
|
'jsdoc/match-description': 'off',
|
||
|
'jsdoc/require-description': 'off',
|
||
|
'jsdoc/require-jsdoc': 'off',
|
||
|
'jsdoc/require-param-description': 'off',
|
||
|
'jsdoc/require-param-type': 'off',
|
||
|
'jsdoc/require-returns-description': 'off',
|
||
|
'jsdoc/require-returns-type': 'off',
|
||
|
'jsdoc/require-returns': 'off',
|
||
|
'jsdoc/valid-types': 'off',
|
||
|
},
|
||
|
settings: {
|
||
|
jsdoc: {
|
||
|
mode: 'typescript',
|
||
|
},
|
||
|
},
|
||
|
};
|