-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc.js
37 lines (37 loc) · 1.03 KB
/
.eslintrc.js
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
35
36
37
module.exports = {
root: true,
env: {
node: true,
es2021: true,
mocha: true,
},
plugins: ['jsdoc', 'prettier'],
overrides: [
{
files: '*.js',
extends: [
'eslint:recommended',
'plugin:jsdoc/recommended',
'prettier',
],
rules: {
'prettier/prettier': 'error',
'prefer-const': 'error',
'no-var': 'error',
'jsdoc/require-property-description': 'off',
'jsdoc/require-param-type': 'off',
'jsdoc/require-param-description': 'off',
'jsdoc/require-returns-description': 'off',
'jsdoc/check-property-names': 'off',
'jsdoc/sort-tags': 'error',
'jsdoc/tag-lines': [
'error',
'any',
{
startLines: 1,
},
],
},
},
],
};