@qlik/eslint-config 0.5.0 → 0.5.1

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.
@@ -12,7 +12,20 @@ module.exports = {
12
12
  "error",
13
13
  {
14
14
  props: true,
15
- ignorePropertyModificationsFor: ["prev"],
15
+ ignorePropertyModificationsFor: [
16
+ "prev", // for reduce accumulators
17
+ "acc", // for reduce accumulators
18
+ "accumulator", // for reduce accumulators
19
+ "e", // for e.returnvalue
20
+ "ctx", // for Koa routing
21
+ "context", // for Koa routing
22
+ "req", // for Express requests
23
+ "request", // for Express requests
24
+ "res", // for Express responses
25
+ "response", // for Express responses
26
+ "$scope", // for Angular 1 scopes
27
+ "staticContext", // for ReactRouter context
28
+ ],
16
29
  },
17
30
  ],
18
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qlik/eslint-config",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Qlik's ESLint config for typescript",
5
5
  "repository": "git@github.com:qlik-oss/dev-tools-js.git",
6
6
  "license": "ISC",