32 lines
658 B
JavaScript
32 lines
658 B
JavaScript
// @ts-check
|
|
|
|
import pluginJsdoc from 'eslint-plugin-jsdoc'
|
|
import rootConfig from './root.eslint.config.js'
|
|
|
|
export default [
|
|
...rootConfig,
|
|
pluginJsdoc.configs['flat/recommended-typescript'],
|
|
{
|
|
rules: {
|
|
'cspell/spellchecker': [
|
|
'warn',
|
|
{
|
|
cspell: {
|
|
ignoreRegExpList: ['\\ɵ.+'],
|
|
},
|
|
},
|
|
],
|
|
'jsdoc/require-hyphen-before-param-description': 1,
|
|
'jsdoc/sort-tags': 1,
|
|
'jsdoc/require-throws': 1,
|
|
'jsdoc/check-tag-names': [
|
|
'warn',
|
|
{
|
|
// Not compatible with Api Extractor @public
|
|
typed: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
]
|