eslint-plugin-crisp 1.7.2 → 1.7.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-crisp",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "description": "Custom ESLint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",
@@ -38,6 +38,7 @@ export default function configRecommendedVue(pluginCrisp) {
38
38
  },
39
39
 
40
40
  preferredTypes: {
41
+ Function: "function",
41
42
  Array: "array",
42
43
  Map: "map",
43
44
  Integer: "number"
@@ -198,6 +199,7 @@ export default function configRecommendedVue(pluginCrisp) {
198
199
  "crisp/variable-names": "error",
199
200
 
200
201
  // General JSDoc rules
202
+ "jsdoc/reject-function-type": "off",
201
203
  "jsdoc/require-description": "error",
202
204
  "jsdoc/require-param-description": "off",
203
205
  "jsdoc/require-returns": "off",
package/recommended.js CHANGED
@@ -31,6 +31,7 @@ export default function configRecommended(pluginCrisp) {
31
31
  },
32
32
 
33
33
  preferredTypes: {
34
+ Function: "function",
34
35
  Array: "array",
35
36
  Integer: "number"
36
37
  }
@@ -190,6 +191,7 @@ export default function configRecommended(pluginCrisp) {
190
191
 
191
192
  // General JSDoc rules
192
193
  "jsdoc/no-undefined-types": "off",
194
+ "jsdoc/reject-function-type": "off",
193
195
  "jsdoc/require-returns": "off",
194
196
  "jsdoc/require-jsdoc": [
195
197
  "error",