@playcanvas/eslint-config 1.7.0 → 1.7.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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
 
3
3
  "parserOptions": {
4
- "ecmaVersion": "latest",
4
+ "ecmaVersion": 2022,
5
5
  "sourceType": "module",
6
6
  "ecmaFeatures": {}
7
7
  },
@@ -397,7 +397,7 @@ module.exports = {
397
397
  "import/no-named-as-default-member": "warn",
398
398
 
399
399
  // Style guide
400
- "import/extensions": ["error", "always"],
400
+ "import/extensions": ["error", "always", { "ts": "never", "tsx": "never" }],
401
401
  "import/no-duplicates": "warn",
402
402
 
403
403
  // JSDoc rules
@@ -472,7 +472,7 @@ module.exports = {
472
472
 
473
473
  "env": {
474
474
  "browser": true,
475
- "es2020": true,
475
+ "es2022": true,
476
476
  "node": true,
477
477
  "worker": true
478
478
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcanvas/eslint-config",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "author": "PlayCanvas <support@playcanvas.com>",
5
5
  "homepage": "https://playcanvas.com",
6
6
  "description": "ESLint configuration used by PlayCanvas",