forked from mansurmetocrm/sweetalert2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
27 lines (27 loc) · 812 Bytes
/
.eslintrc.cjs
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
module.exports = {
extends: ['@sweetalert2/eslint-config', 'plugin:no-unsanitized/DOM', 'plugin:jsdoc/recommended'],
plugins: ['jsdoc'],
rules: {
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-this-alias': 0,
'@typescript-eslint/triple-slash-reference': 0,
'jsdoc/require-param-description': 0,
'jsdoc/require-property-description': 0,
'jsdoc/require-returns-description': 0,
'jsdoc/no-undefined-types': 0,
'jsdoc/tag-lines': 0,
'jsdoc/valid-types': 0,
},
overrides: [
{
files: ['sweetalert2.d.ts'],
rules: {
'jsdoc/require-param': 0,
'jsdoc/require-returns': 0,
'jsdoc/require-param-type': 0,
},
},
],
}