@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.
- package/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
|
|
3
3
|
"parserOptions": {
|
|
4
|
-
"ecmaVersion":
|
|
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
|
-
"
|
|
475
|
+
"es2022": true,
|
|
476
476
|
"node": true,
|
|
477
477
|
"worker": true
|
|
478
478
|
}
|