nodebb-plugin-dbsearch 5.0.5 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc CHANGED
@@ -1,139 +1,3 @@
1
1
  {
2
- "extends": "airbnb-base",
3
- "parserOptions": {
4
- "sourceType": "script"
5
- },
6
-
7
- "rules": {
8
- // Customized
9
- "handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
10
- "comma-dangle": ["error", {
11
- "arrays": "always-multiline",
12
- "objects": "always-multiline",
13
- "imports": "always-multiline",
14
- "exports": "always-multiline",
15
- "functions": "never"
16
- }],
17
- "no-return-await": "off",
18
- "no-constant-condition": "off",
19
- "no-empty": ["error", { "allowEmptyCatch": true }],
20
- "no-underscore-dangle": "off",
21
- "no-console": "off",
22
- "no-mixed-operators": ["error", { "allowSamePrecedence": true }],
23
- "strict": ["error", "global"],
24
- "consistent-return": "off",
25
- "func-names": "off",
26
- "no-tabs": "off",
27
- "indent": ["error", "tab"],
28
- "no-eq-null": "off",
29
- "camelcase": "off",
30
- "no-new": "off",
31
- "no-shadow": "off",
32
- "no-use-before-define": ["error", "nofunc"],
33
- "no-prototype-builtins": "off",
34
- "new-cap": "off",
35
- "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
36
- "object-curly-newline": "off",
37
- "no-restricted-globals": "off",
38
- "function-paren-newline": "off",
39
- "import/no-unresolved": "error",
40
- "quotes": ["error", "single", {
41
- "avoidEscape": true,
42
- "allowTemplateLiterals": true
43
- }],
44
- "no-else-return": [ "error", { "allowElseIf": true } ],
45
- "operator-linebreak": [ "error", "after" ],
46
-
47
- // ES6
48
- "prefer-rest-params": "off",
49
- "prefer-spread": "off",
50
- "prefer-arrow-callback": "off",
51
- "prefer-template": "off",
52
- "no-var": "off",
53
- "object-shorthand": "off",
54
- "vars-on-top": "off",
55
- "prefer-destructuring": "off",
56
-
57
- // TODO
58
- "import/no-extraneous-dependencies": "off",
59
- "import/no-dynamic-require": "off",
60
- "import/newline-after-import": "off",
61
- "no-bitwise": "off",
62
- "global-require": "off",
63
- "max-len": "off",
64
- "no-param-reassign": "off",
65
- "no-restricted-syntax": "off",
66
- "no-script-url": "off",
67
- "default-case": "off",
68
- "linebreak-style": "off",
69
-
70
- // "no-multi-assign": "off",
71
- // "one-var": "off",
72
- // "no-undef": "off",
73
- // "max-nested-callbacks": "off",
74
- // "no-mixed-requires": "off",
75
- // "brace-style": "off",
76
- // "max-statements-per-line": "off",
77
- // "no-unused-vars": "off",
78
- // "no-mixed-spaces-and-tabs": "off",
79
- // "no-useless-concat": "off",
80
- // "require-jsdoc": "off",
81
- // "eqeqeq": "off",
82
- // "no-negated-condition": "off",
83
- // "one-var-declaration-per-line": "off",
84
- // "no-lonely-if": "off",
85
- // "radix": "off",
86
- // "no-else-return": "off",
87
- // "no-useless-escape": "off",
88
- // "block-scoped-var": "off",
89
- // "operator-assignment": "off",
90
- // "yoda": "off",
91
- // "no-loop-func": "off",
92
- // "no-void": "off",
93
- // "valid-jsdoc": "off",
94
- // "no-cond-assign": "off",
95
- // "no-redeclare": "off",
96
- // "no-unreachable": "off",
97
- // "no-nested-ternary": "off",
98
- // "operator-linebreak": "off",
99
- // "guard-for-in": "off",
100
- // "no-unneeded-ternary": "off",
101
- // "no-sequences": "off",
102
- // "no-extend-native": "off",
103
- // "no-shadow-restricted-names": "off",
104
- // "no-extra-boolean-cast": "off",
105
- // "no-path-concat": "off",
106
- // "no-unused-expressions": "off",
107
- // "no-return-assign": "off",
108
- // "no-restricted-modules": "off",
109
- // "object-curly-spacing": "off",
110
- // "indent": "off",
111
- // "padded-blocks": "off",
112
- // "eol-last": "off",
113
- // "lines-around-directive": "off",
114
- // "strict": "off",
115
- // "comma-dangle": "off",
116
- // "no-multi-spaces": "off",
117
- // "quotes": "off",
118
- // "keyword-spacing": "off",
119
- // "no-mixed-operators": "off",
120
- // "comma-spacing": "off",
121
- // "no-trailing-spaces": "off",
122
- // "key-spacing": "off",
123
- // "no-multiple-empty-lines": "off",
124
- // "spaced-comment": "off",
125
- // "space-in-parens": "off",
126
- // "block-spacing": "off",
127
- // "quote-props": "off",
128
- // "space-unary-ops": "off",
129
- // "no-empty": "off",
130
- // "dot-notation": "off",
131
- // "func-call-spacing": "off",
132
- // "array-bracket-spacing": "off",
133
- // "object-property-newline": "off",
134
- // "no-continue": "off",
135
- // "no-extra-semi": "off",
136
- // "no-spaced-func": "off",
137
- // "no-useless-return": "off"
138
- }
2
+ "extends": "nodebb/lib"
139
3
  }