@playcanvas/eslint-config 2.0.5 → 2.0.7
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/eslint.config.mjs +3 -5
- package/package.json +1 -2
package/eslint.config.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import jsdocPlugin from 'eslint-plugin-jsdoc';
|
|
2
|
-
|
|
2
|
+
import importPlugin from 'eslint-plugin-import';
|
|
3
3
|
import regexpPlugin from 'eslint-plugin-regexp';
|
|
4
4
|
|
|
5
5
|
// ESM Script supported JSDoc tags
|
|
@@ -19,7 +19,7 @@ const esmScriptTags = [
|
|
|
19
19
|
export default [
|
|
20
20
|
{
|
|
21
21
|
plugins: {
|
|
22
|
-
|
|
22
|
+
import: importPlugin,
|
|
23
23
|
jsdoc: jsdocPlugin,
|
|
24
24
|
regexp: regexpPlugin
|
|
25
25
|
},
|
|
@@ -395,7 +395,6 @@ export default [
|
|
|
395
395
|
"wrap-regex": "off",
|
|
396
396
|
"yield-star-spacing": "error",
|
|
397
397
|
|
|
398
|
-
/*
|
|
399
398
|
// Import rules
|
|
400
399
|
|
|
401
400
|
// Static analysis
|
|
@@ -415,9 +414,8 @@ export default [
|
|
|
415
414
|
"import/no-named-as-default-member": "warn",
|
|
416
415
|
|
|
417
416
|
// Style guide
|
|
418
|
-
"import/extensions": ["error", "
|
|
417
|
+
"import/extensions": ["error", "ignorePackages", { "ts": "never", "tsx": "never" }],
|
|
419
418
|
"import/no-duplicates": "warn",
|
|
420
|
-
*/
|
|
421
419
|
|
|
422
420
|
// JSDoc rules
|
|
423
421
|
"jsdoc/check-access": "error",
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcanvas/eslint-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"author": "PlayCanvas <support@playcanvas.com>",
|
|
5
5
|
"homepage": "https://playcanvas.com",
|
|
6
6
|
"description": "ESLint configuration used by PlayCanvas",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"config",
|
|
9
9
|
"eslint",
|
|
10
|
-
"eslintrc",
|
|
11
10
|
"playcanvas"
|
|
12
11
|
],
|
|
13
12
|
"license": "MIT",
|