-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.mjs
35 lines (34 loc) · 973 Bytes
/
eslint.config.mjs
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
import jsdoc from "eslint-plugin-jsdoc";
import js from "@eslint/js";
import globals from "globals";
export default [
{
ignores: ['dist/', 'vendor/', '*.cjs', 'src/micromodal.es.js'],
},
js.configs.recommended,
jsdoc.configs["flat/recommended"],
{
plugins: {
jsdoc: jsdoc,
},
languageOptions: {
ecmaVersion: 2020,
globals: {
...globals.browser,
...globals.es2020,
...globals.mocha,
},
},
rules: {
"no-unused-vars": ["error", { "args": "none" }],
"semi": [2, "always"],
"jsdoc/require-jsdoc": 0,
"jsdoc/require-param-description": 0,
"jsdoc/require-returns": 0,
"jsdoc/require-param-type": 0,
"jsdoc/require-returns-description": 0,
'jsdoc/tag-lines': 0,
'jsdoc/require-param': 0
},
},
];