-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy patheslint.config.js
More file actions
34 lines (31 loc) · 729 Bytes
/
eslint.config.js
File metadata and controls
34 lines (31 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// @ts-check
import pluginJsdoc from 'eslint-plugin-jsdoc'
import rootConfig from './root.eslint.config.js'
/** @type {import('eslint').Linter.Config[]} */
const config = [
...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,
},
],
},
},
]
export default config