@playcanvas/eslint-config 1.6.0 → 1.7.0

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.
Files changed (2) hide show
  1. package/index.js +6 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -45,6 +45,7 @@ module.exports = {
45
45
  "no-irregular-whitespace": "error",
46
46
  "no-loss-of-precision": "error",
47
47
  "no-misleading-character-class": "error",
48
+ "no-new-native-nonconstructor": "error",
48
49
  "no-new-symbol": "error",
49
50
  "no-obj-calls": "error",
50
51
  "no-promise-executor-return": "error",
@@ -104,6 +105,7 @@ module.exports = {
104
105
  "id-length": "off",
105
106
  "id-match": "off",
106
107
  "init-declarations": "off",
108
+ "logical-assignment-operators": "off",
107
109
  "max-classes-per-file": "off",
108
110
  "max-depth": "off",
109
111
  "max-lines": "off",
@@ -130,6 +132,7 @@ module.exports = {
130
132
  }
131
133
  ],
132
134
  "no-empty-function": "off",
135
+ "no-empty-static-block": "error",
133
136
  "no-eq-null": "off",
134
137
  "no-eval": "error",
135
138
  "no-extend-native": "error",
@@ -174,7 +177,6 @@ module.exports = {
174
177
  "no-restricted-properties": "off",
175
178
  "no-restricted-syntax": "error",
176
179
  "no-return-assign": "error",
177
- "no-return-await": "error",
178
180
  "no-script-url": "error",
179
181
  "no-sequences": "error",
180
182
  "no-shadow": "off",
@@ -418,7 +420,8 @@ module.exports = {
418
420
  "jsdoc/multiline-blocks": "error",
419
421
  "jsdoc/no-bad-blocks": "error",
420
422
  "jsdoc/no-blank-block-descriptions": "error",
421
- "jsdoc/no-defaults": "off",
423
+ "jsdoc/no-blank-blocks": "error",
424
+ "jsdoc/no-defaults": "error",
422
425
  "jsdoc/no-missing-syntax": "off",
423
426
  "jsdoc/no-multi-asterisks": "error",
424
427
  "jsdoc/no-restricted-syntax": "off",
@@ -452,6 +455,7 @@ module.exports = {
452
455
  "jsdoc/require-yields-check": "error",
453
456
  "jsdoc/sort-tags": "off",
454
457
  "jsdoc/tag-lines": "off",
458
+ "jsdoc/text-escaping": "off",
455
459
  "jsdoc/valid-types": "off"
456
460
  },
457
461
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcanvas/eslint-config",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "author": "PlayCanvas <support@playcanvas.com>",
5
5
  "homepage": "https://playcanvas.com",
6
6
  "description": "ESLint configuration used by PlayCanvas",