@plugjs/eslint-plugin 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.
- package/README.md +8 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -25,6 +25,8 @@ export default [
|
|
|
25
25
|
|
|
26
26
|
// ===== DEFINE THE LOCATION OF OUR TSCONFIG.JSON FILES ======================
|
|
27
27
|
{
|
|
28
|
+
name: 'local/options',
|
|
29
|
+
|
|
28
30
|
languageOptions: {
|
|
29
31
|
parserOptions: {
|
|
30
32
|
createDefaultProgram: false,
|
|
@@ -38,6 +40,8 @@ export default [
|
|
|
38
40
|
|
|
39
41
|
// ===== ENSURE THAT OUR MAIN FILES DEPEND ONLY ON PROPER DEPENDENCIES =======
|
|
40
42
|
{
|
|
43
|
+
name: 'local/imports',
|
|
44
|
+
|
|
41
45
|
files: [ 'src/**' ],
|
|
42
46
|
rules: {
|
|
43
47
|
// Turn _ON_ dependencies checks only for sources
|
|
@@ -53,6 +57,8 @@ export default [
|
|
|
53
57
|
// ===== PROJECT LOCAL RULES =================================================
|
|
54
58
|
// Add any extra rule not tied to a specific "files" pattern here, e.g.:
|
|
55
59
|
// {
|
|
60
|
+
// name: 'local/rules',
|
|
61
|
+
//
|
|
56
62
|
// rules: {
|
|
57
63
|
// 'camelcase': 'off',
|
|
58
64
|
// },
|
|
@@ -63,6 +69,8 @@ export default [
|
|
|
63
69
|
// with "rules", "languageOptions", "files", ... or anything else (ESLint v9
|
|
64
70
|
// flat config). Otherwise ESLint will blatantly ignore the ignored files!
|
|
65
71
|
{
|
|
72
|
+
name: 'local/ignores',
|
|
73
|
+
|
|
66
74
|
ignores: [
|
|
67
75
|
'coverage/',
|
|
68
76
|
'dist/',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plugjs/eslint-plugin",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Shared ESLint configurations and extras",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"eslint-import-resolver-node": "^0.3.9",
|
|
29
29
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
30
30
|
"eslint-plugin-import-x": "^4.16.1",
|
|
31
|
-
"eslint-plugin-unicorn": "^
|
|
32
|
-
"globals": "^16.
|
|
33
|
-
"typescript-eslint": "^8.
|
|
31
|
+
"eslint-plugin-unicorn": "^61.0.2",
|
|
32
|
+
"globals": "^16.4.0",
|
|
33
|
+
"typescript-eslint": "^8.43.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^24.3.1",
|