forked from naver/billboard.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
69 lines (68 loc) · 1.84 KB
/
.eslintrc
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false
},
"root": true,
"plugins": [
"jsdoc",
"@typescript-eslint"
],
"env": {
"browser": true,
"node": true,
"mocha": true
},
"extends": [
//"eslint:recommended",
// "plugin:@typescript-eslint/eslint-recommended",
// "plugin:@typescript-eslint/recommended",
"plugin:jsdoc/recommended",
"naver"
],
"ignorePatterns": ["*.js", "node_modules"],
"rules": {
"linebreak-style": 0,
"consistent-this": 0,
"camelcase": 0,
"no-nested-ternary": 0,
"object-shorthand": 0,
"comma-dangle": 0,
"no-lonely-if": 0,
"no-shadow": 0,
"default-case": 0,
"class-methods-use-this": 0,
"no-useless-escape": 0,
"no-loop-func": 0,
"no-use-before-define": 0,
"no-console": [
"error", {
"allow": ["error"]
}
],
"array-element-newline": 0,
"import/prefer-default-export": 0,
"no-unused-vars": "off",
"no-sequences": 0,
"spaced-comment": ["error", "always", {
"exceptions": ["-", "+"],
"markers": ["/"]
}],
"@typescript-eslint/no-unused-vars": [
"error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
// jsdoc rules
"jsdoc/newline-after-description": 0,
"jsdoc/require-returns-description": 0,
"jsdoc/no-undefined-types": 0,
"jsdoc/valid-types": 0,
"jsdoc/check-values": 0,
"jsdoc/no-multi-asterisks": 0,
"jsdoc/tag-lines": 0,
"jsdoc/no-defaults": 0
}
}