@futdevpro/dynamo-eslint 1.14.2 → 1.14.4

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 (100) hide show
  1. package/.eslintrc.json +4 -0
  2. package/.vscode/settings.json +13 -0
  3. package/README.md +279 -29
  4. package/build/configs/base.d.ts +6 -81
  5. package/build/configs/base.d.ts.map +1 -1
  6. package/build/configs/base.js +90 -54
  7. package/build/configs/base.js.map +1 -1
  8. package/build/configs/fsm.d.ts +1 -85
  9. package/build/configs/fsm.d.ts.map +1 -1
  10. package/build/configs/fsm.js +3 -6
  11. package/build/configs/fsm.js.map +1 -1
  12. package/build/configs/ngx-package.d.ts +1 -85
  13. package/build/configs/ngx-package.d.ts.map +1 -1
  14. package/build/configs/ngx-package.js +3 -6
  15. package/build/configs/ngx-package.js.map +1 -1
  16. package/build/configs/ngx.d.ts +4 -85
  17. package/build/configs/ngx.d.ts.map +1 -1
  18. package/build/configs/ngx.js +67 -11
  19. package/build/configs/ngx.js.map +1 -1
  20. package/build/configs/nts-package.d.ts +1 -87
  21. package/build/configs/nts-package.d.ts.map +1 -1
  22. package/build/configs/nts-package.js +12 -10
  23. package/build/configs/nts-package.js.map +1 -1
  24. package/build/configs/nts.d.ts +1 -86
  25. package/build/configs/nts.d.ts.map +1 -1
  26. package/build/configs/nts.js +26 -11
  27. package/build/configs/nts.js.map +1 -1
  28. package/build/plugin/index.d.ts +2 -0
  29. package/build/plugin/index.d.ts.map +1 -1
  30. package/build/plugin/index.js +3 -0
  31. package/build/plugin/index.js.map +1 -1
  32. package/build/plugin/rules/explicit-types.d.ts +4 -0
  33. package/build/plugin/rules/explicit-types.d.ts.map +1 -0
  34. package/build/plugin/rules/explicit-types.js +165 -0
  35. package/build/plugin/rules/explicit-types.js.map +1 -0
  36. package/build/plugin/rules/explicit-types.spec.d.ts +2 -0
  37. package/build/plugin/rules/explicit-types.spec.d.ts.map +1 -0
  38. package/build/plugin/rules/explicit-types.spec.js +162 -0
  39. package/build/plugin/rules/explicit-types.spec.js.map +1 -0
  40. package/build/plugin/rules/import/no-import-type.d.ts.map +1 -1
  41. package/build/plugin/rules/import/no-import-type.js +23 -12
  42. package/build/plugin/rules/import/no-import-type.js.map +1 -1
  43. package/build/plugin/rules/import/no-js-import.d.ts.map +1 -1
  44. package/build/plugin/rules/import/no-js-import.js +22 -11
  45. package/build/plugin/rules/import/no-js-import.js.map +1 -1
  46. package/build/plugin/rules/naming-patterns.d.ts.map +1 -1
  47. package/build/plugin/rules/naming-patterns.js +7 -2
  48. package/build/plugin/rules/naming-patterns.js.map +1 -1
  49. package/build/scripts/dynamo-fix.d.ts +24 -0
  50. package/build/scripts/dynamo-fix.d.ts.map +1 -1
  51. package/build/scripts/dynamo-fix.js +57 -2
  52. package/build/scripts/dynamo-fix.js.map +1 -1
  53. package/build/scripts/eslintrc-audit.d.ts +24 -0
  54. package/build/scripts/eslintrc-audit.d.ts.map +1 -1
  55. package/build/scripts/eslintrc-audit.js +65 -0
  56. package/build/scripts/eslintrc-audit.js.map +1 -1
  57. package/build/scripts/fix-return-types.d.ts +25 -0
  58. package/build/scripts/fix-return-types.d.ts.map +1 -1
  59. package/build/scripts/fix-return-types.js +80 -9
  60. package/build/scripts/fix-return-types.js.map +1 -1
  61. package/build/scripts/validate-imports.d.ts +24 -0
  62. package/build/scripts/validate-imports.d.ts.map +1 -1
  63. package/build/scripts/validate-imports.js +62 -1
  64. package/build/scripts/validate-imports.js.map +1 -1
  65. package/build/scripts/validate-naming.d.ts +24 -0
  66. package/build/scripts/validate-naming.d.ts.map +1 -1
  67. package/build/scripts/validate-naming.js +72 -9
  68. package/build/scripts/validate-naming.js.map +1 -1
  69. package/eslint.config.js +9 -49
  70. package/futdevpro-dynamo-eslint-01.14.4.tgz +0 -0
  71. package/package.json +1 -1
  72. package/samples/.vscode/settings.json +13 -0
  73. package/samples/base/eslint.config.js +3 -0
  74. package/samples/fsm/.eslintrc.json +4 -0
  75. package/samples/fsm/eslint.config.js +3 -0
  76. package/samples/ngx/eslint.config.js +3 -0
  77. package/samples/ngx-package/.eslintrc.json +4 -0
  78. package/samples/ngx-package/eslint.config.js +3 -0
  79. package/samples/nts/eslint.config.js +3 -0
  80. package/samples/nts-package/.eslintrc.json +4 -0
  81. package/samples/nts-package/eslint.config.js +3 -0
  82. package/samples/package.json.example +26 -0
  83. package/src/configs/base.ts +90 -54
  84. package/src/configs/fsm.ts +3 -6
  85. package/src/configs/ngx-package.ts +3 -6
  86. package/src/configs/ngx.ts +67 -11
  87. package/src/configs/nts-package.ts +12 -10
  88. package/src/configs/nts.ts +26 -11
  89. package/src/plugin/index.ts +3 -0
  90. package/src/plugin/rules/explicit-types.spec.ts +190 -0
  91. package/src/plugin/rules/explicit-types.ts +169 -0
  92. package/src/plugin/rules/import/no-import-type.ts +21 -12
  93. package/src/plugin/rules/import/no-js-import.ts +21 -13
  94. package/src/plugin/rules/naming-patterns.ts +6 -2
  95. package/src/scripts/dynamo-fix.ts +66 -2
  96. package/src/scripts/eslintrc-audit.ts +73 -2
  97. package/src/scripts/fix-return-types.ts +93 -9
  98. package/src/scripts/validate-imports.ts +71 -2
  99. package/src/scripts/validate-naming.ts +108 -17
  100. package/futdevpro-dynamo-eslint-01.14.2.tgz +0 -0
@@ -1,86 +1,2 @@
1
- /**
2
- * Rulesets For Dynamo Based Systems
3
- * FSM: Full Stack Module
4
- */
5
- declare const config: {
6
- env: {
7
- browser: boolean;
8
- es2021: boolean;
9
- };
10
- parser: string;
11
- parserOptions: {
12
- ecmaVersion: string;
13
- };
14
- plugins: string[];
15
- extends: string[];
16
- rules: {
17
- 'no-warning-comments': (string | {
18
- terms: string[];
19
- location: string;
20
- })[];
21
- indent: (string | number | {
22
- SwitchCase: number;
23
- })[];
24
- 'max-len': (string | {
25
- code: number;
26
- comments: number;
27
- })[];
28
- 'max-lines': (string | number)[];
29
- 'linebreak-style': string;
30
- semi: string[];
31
- 'no-unused-vars': string;
32
- 'no-prototype-builtins': string;
33
- 'no-empty': string;
34
- 'comma-dangle': (string | {
35
- arrays: string;
36
- objects: string;
37
- functions: string;
38
- imports: string;
39
- exports: string;
40
- })[];
41
- 'brace-style': (string | {
42
- allowSingleLine: boolean;
43
- })[];
44
- 'object-curly-spacing': string[];
45
- 'array-bracket-spacing': (string | {
46
- objectsInArrays: boolean;
47
- arraysInArrays: boolean;
48
- })[];
49
- 'padding-line-between-statements': (string | {
50
- blankLine: string;
51
- prev: string;
52
- next: string[];
53
- } | {
54
- blankLine: string;
55
- prev: string[];
56
- next: string;
57
- } | {
58
- blankLine: string;
59
- prev: string[];
60
- next: string[];
61
- })[];
62
- 'prefer-const': string;
63
- 'no-case-declarations': string;
64
- 'no-fallthrough': string;
65
- 'keyword-spacing': string;
66
- 'no-else-return': string;
67
- 'no-duplicate-imports': string;
68
- 'max-params': (string | number)[];
69
- 'max-params-no-constructor/max-params-no-constructor': (string | number)[];
70
- quotes: (string | {
71
- allowTemplateLiterals: boolean;
72
- })[];
73
- '@typescript-eslint/no-unused-vars': string;
74
- '@typescript-eslint/explicit-function-return-type': (string | {
75
- allowTypedFunctionExpressions: boolean;
76
- })[];
77
- '@typescript-eslint/no-explicit-any': string;
78
- '@typescript-eslint/typedef': string;
79
- '@futdevpro/dynamo/import-order': string;
80
- '@futdevpro/dynamo/naming-patterns': string;
81
- '@futdevpro/dynamo/no-import-type': string;
82
- '@futdevpro/dynamo/no-js-import': string;
83
- };
84
- };
85
- export = config;
1
+ declare const fsmBaseConfig: any;
86
2
  //# sourceMappingURL=fsm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fsm.d.ts","sourceRoot":"","sources":["../../src/configs/fsm.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEX,CAAC;AAEF,SAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"fsm.d.ts","sourceRoot":"","sources":["../../src/configs/fsm.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,KAAoB,CAAC"}
@@ -1,11 +1,8 @@
1
- "use strict";
2
- const base = require("./base");
1
+ const fsmBaseConfig = require('./base');
3
2
  /**
4
3
  * Rulesets For Dynamo Based Systems
5
4
  * FSM: Full Stack Module
5
+ * ESLint v9 Flat Config Format
6
6
  */
7
- const config = {
8
- ...base,
9
- };
10
- module.exports = config;
7
+ module.exports = fsmBaseConfig;
11
8
  //# sourceMappingURL=fsm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fsm.js","sourceRoot":"","sources":["../../src/configs/fsm.ts"],"names":[],"mappings":";AAAA,+BAAgC;AAEhC;;;GAGG;AACH,MAAM,MAAM,GAAG;IACb,GAAG,IAAI;CACR,CAAC;AAEF,iBAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"fsm.js","sourceRoot":"","sources":["../../src/configs/fsm.ts"],"names":[],"mappings":"AAAA,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAExC;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG,aAAa,CAAC"}
@@ -1,86 +1,2 @@
1
- /**
2
- * Rulesets For Dynamo Based Systems
3
- * NGX-PACKAGE: Angular Package
4
- */
5
- declare const config: {
6
- env: {
7
- browser: boolean;
8
- es2021: boolean;
9
- };
10
- extends: string[];
11
- parser: string;
12
- parserOptions: {
13
- ecmaVersion: string;
14
- };
15
- plugins: string[];
16
- rules: {
17
- 'no-warning-comments': (string | {
18
- terms: string[];
19
- location: string;
20
- })[];
21
- indent: (string | number | {
22
- SwitchCase: number;
23
- })[];
24
- 'max-len': (string | {
25
- code: number;
26
- comments: number;
27
- })[];
28
- 'max-lines': (string | number)[];
29
- 'linebreak-style': string;
30
- semi: string[];
31
- 'no-unused-vars': string;
32
- 'no-prototype-builtins': string;
33
- 'no-empty': string;
34
- 'comma-dangle': (string | {
35
- arrays: string;
36
- objects: string;
37
- functions: string;
38
- imports: string;
39
- exports: string;
40
- })[];
41
- 'brace-style': (string | {
42
- allowSingleLine: boolean;
43
- })[];
44
- 'object-curly-spacing': string[];
45
- 'array-bracket-spacing': (string | {
46
- objectsInArrays: boolean;
47
- arraysInArrays: boolean;
48
- })[];
49
- 'padding-line-between-statements': (string | {
50
- blankLine: string;
51
- prev: string;
52
- next: string[];
53
- } | {
54
- blankLine: string;
55
- prev: string[];
56
- next: string;
57
- } | {
58
- blankLine: string;
59
- prev: string[];
60
- next: string[];
61
- })[];
62
- 'prefer-const': string;
63
- 'no-case-declarations': string;
64
- 'no-fallthrough': string;
65
- 'keyword-spacing': string;
66
- 'no-else-return': string;
67
- 'no-duplicate-imports': string;
68
- 'max-params': (string | number)[];
69
- 'max-params-no-constructor/max-params-no-constructor': (string | number)[];
70
- quotes: (string | {
71
- allowTemplateLiterals: boolean;
72
- })[];
73
- '@typescript-eslint/no-unused-vars': string;
74
- '@typescript-eslint/explicit-function-return-type': (string | {
75
- allowTypedFunctionExpressions: boolean;
76
- })[];
77
- '@typescript-eslint/no-explicit-any': string;
78
- '@typescript-eslint/typedef': string;
79
- '@futdevpro/dynamo/import-order': string;
80
- '@futdevpro/dynamo/naming-patterns': string;
81
- '@futdevpro/dynamo/no-import-type': string;
82
- '@futdevpro/dynamo/no-js-import': string;
83
- };
84
- };
85
- export = config;
1
+ declare const ngxConfig: any;
86
2
  //# sourceMappingURL=ngx-package.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-package.d.ts","sourceRoot":"","sources":["../../src/configs/ngx-package.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEX,CAAC;AAEF,SAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"ngx-package.d.ts","sourceRoot":"","sources":["../../src/configs/ngx-package.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS,KAAmB,CAAC"}
@@ -1,11 +1,8 @@
1
- "use strict";
2
- const ngx = require("./ngx");
1
+ const ngxConfig = require('./ngx');
3
2
  /**
4
3
  * Rulesets For Dynamo Based Systems
5
4
  * NGX-PACKAGE: Angular Package
5
+ * ESLint v9 Flat Config Format
6
6
  */
7
- const config = {
8
- ...ngx,
9
- };
10
- module.exports = config;
7
+ module.exports = ngxConfig;
11
8
  //# sourceMappingURL=ngx-package.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-package.js","sourceRoot":"","sources":["../../src/configs/ngx-package.ts"],"names":[],"mappings":";AAAA,6BAA8B;AAE9B;;;GAGG;AACH,MAAM,MAAM,GAAG;IACb,GAAG,GAAG;CACP,CAAC;AAEF,iBAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"ngx-package.js","sourceRoot":"","sources":["../../src/configs/ngx-package.ts"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAEnC;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC"}
@@ -1,86 +1,5 @@
1
- /**
2
- * Rulesets For Dynamo Based Systems
3
- * NGX: Angular Projects
4
- */
5
- declare const config: {
6
- env: {
7
- browser: boolean;
8
- es2021: boolean;
9
- };
10
- extends: string[];
11
- parser: string;
12
- parserOptions: {
13
- ecmaVersion: string;
14
- };
15
- plugins: string[];
16
- rules: {
17
- 'no-warning-comments': (string | {
18
- terms: string[];
19
- location: string;
20
- })[];
21
- indent: (string | number | {
22
- SwitchCase: number;
23
- })[];
24
- 'max-len': (string | {
25
- code: number;
26
- comments: number;
27
- })[];
28
- 'max-lines': (string | number)[];
29
- 'linebreak-style': string;
30
- semi: string[];
31
- 'no-unused-vars': string;
32
- 'no-prototype-builtins': string;
33
- 'no-empty': string;
34
- 'comma-dangle': (string | {
35
- arrays: string;
36
- objects: string;
37
- functions: string;
38
- imports: string;
39
- exports: string;
40
- })[];
41
- 'brace-style': (string | {
42
- allowSingleLine: boolean;
43
- })[];
44
- 'object-curly-spacing': string[];
45
- 'array-bracket-spacing': (string | {
46
- objectsInArrays: boolean;
47
- arraysInArrays: boolean;
48
- })[];
49
- 'padding-line-between-statements': (string | {
50
- blankLine: string;
51
- prev: string;
52
- next: string[];
53
- } | {
54
- blankLine: string;
55
- prev: string[];
56
- next: string;
57
- } | {
58
- blankLine: string;
59
- prev: string[];
60
- next: string[];
61
- })[];
62
- 'prefer-const': string;
63
- 'no-case-declarations': string;
64
- 'no-fallthrough': string;
65
- 'keyword-spacing': string;
66
- 'no-else-return': string;
67
- 'no-duplicate-imports': string;
68
- 'max-params': (string | number)[];
69
- 'max-params-no-constructor/max-params-no-constructor': (string | number)[];
70
- quotes: (string | {
71
- allowTemplateLiterals: boolean;
72
- })[];
73
- '@typescript-eslint/no-unused-vars': string;
74
- '@typescript-eslint/explicit-function-return-type': (string | {
75
- allowTypedFunctionExpressions: boolean;
76
- })[];
77
- '@typescript-eslint/no-explicit-any': string;
78
- '@typescript-eslint/typedef': string;
79
- '@futdevpro/dynamo/import-order': string;
80
- '@futdevpro/dynamo/naming-patterns': string;
81
- '@futdevpro/dynamo/no-import-type': string;
82
- '@futdevpro/dynamo/no-js-import': string;
83
- };
84
- };
85
- export = config;
1
+ declare const ngxBaseConfig: any;
2
+ declare const angularPlugin: any;
3
+ declare const angularTemplatePlugin: any;
4
+ declare const angularTemplateParser: any;
86
5
  //# sourceMappingURL=ngx.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx.d.ts","sourceRoot":"","sources":["../../src/configs/ngx.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOX,CAAC;AAEF,SAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"ngx.d.ts","sourceRoot":"","sources":["../../src/configs/ngx.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,KAAoB,CAAC;AACxC,QAAA,MAAM,aAAa,KAA2C,CAAC;AAC/D,QAAA,MAAM,qBAAqB,KAAoD,CAAC;AAChF,QAAA,MAAM,qBAAqB,KAA6C,CAAC"}
@@ -1,16 +1,72 @@
1
- "use strict";
2
- const base = require("./base");
1
+ const ngxBaseConfig = require('./base');
2
+ const angularPlugin = require('@angular-eslint/eslint-plugin');
3
+ const angularTemplatePlugin = require('@angular-eslint/eslint-plugin-template');
4
+ const angularTemplateParser = require('@angular-eslint/template-parser');
3
5
  /**
4
6
  * Rulesets For Dynamo Based Systems
5
7
  * NGX: Angular Projects
8
+ * ESLint v9 Flat Config Format
6
9
  */
7
- const config = {
8
- ...base,
9
- env: { browser: true, es2021: true },
10
- extends: [
11
- ...base.extends,
12
- 'plugin:@angular-eslint/recommended',
13
- ],
14
- };
15
- module.exports = config;
10
+ module.exports = [
11
+ ...ngxBaseConfig,
12
+ {
13
+ files: ['**/*.ts', '**/*.tsx'],
14
+ languageOptions: {
15
+ ...ngxBaseConfig[1].languageOptions,
16
+ globals: {
17
+ // Angular globals
18
+ window: 'readonly',
19
+ document: 'readonly',
20
+ console: 'readonly',
21
+ process: 'readonly',
22
+ Buffer: 'readonly',
23
+ global: 'readonly',
24
+ __dirname: 'readonly',
25
+ __filename: 'readonly',
26
+ module: 'readonly',
27
+ require: 'readonly',
28
+ exports: 'readonly'
29
+ }
30
+ },
31
+ plugins: {
32
+ ...ngxBaseConfig[1].plugins,
33
+ '@angular-eslint': angularPlugin,
34
+ },
35
+ rules: {
36
+ ...ngxBaseConfig[1].rules,
37
+ // Angular-specific rules
38
+ '@angular-eslint/directive-selector': 'error',
39
+ '@angular-eslint/component-selector': 'error',
40
+ '@angular-eslint/no-conflicting-lifecycle': 'error',
41
+ '@angular-eslint/no-host-metadata-property': 'error',
42
+ '@angular-eslint/no-input-rename': 'error',
43
+ '@angular-eslint/no-output-rename': 'error',
44
+ '@angular-eslint/no-outputs-metadata-property': 'error',
45
+ '@angular-eslint/use-lifecycle-interface': 'error',
46
+ '@angular-eslint/use-pipe-transform-interface': 'error',
47
+ },
48
+ },
49
+ {
50
+ files: ['**/*.html'],
51
+ languageOptions: {
52
+ parser: angularTemplateParser,
53
+ parserOptions: {
54
+ ecmaVersion: 'latest',
55
+ sourceType: 'module',
56
+ },
57
+ },
58
+ plugins: {
59
+ '@angular-eslint/template': angularTemplatePlugin,
60
+ },
61
+ rules: {
62
+ '@angular-eslint/template/banana-in-box': 'error',
63
+ '@angular-eslint/template/cyclomatic-complexity': 'error',
64
+ '@angular-eslint/template/eqeqeq': 'error',
65
+ '@angular-eslint/template/no-call-expression': 'error',
66
+ '@angular-eslint/template/no-duplicate-attributes': 'error',
67
+ '@angular-eslint/template/no-negated-async': 'error',
68
+ '@angular-eslint/template/use-track-by-function': 'error',
69
+ },
70
+ },
71
+ ];
16
72
  //# sourceMappingURL=ngx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx.js","sourceRoot":"","sources":["../../src/configs/ngx.ts"],"names":[],"mappings":";AAAA,+BAAgC;AAEhC;;;GAGG;AACH,MAAM,MAAM,GAAG;IACb,GAAG,IAAI;IACP,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACpC,OAAO,EAAE;QACP,GAAG,IAAI,CAAC,OAAO;QACf,oCAAoC;KACrC;CACF,CAAC;AAEF,iBAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"ngx.js","sourceRoot":"","sources":["../../src/configs/ngx.ts"],"names":[],"mappings":"AAAA,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AACxC,MAAM,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAC/D,MAAM,qBAAqB,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAAC;AAChF,MAAM,qBAAqB,GAAG,OAAO,CAAC,iCAAiC,CAAC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG;IACf,GAAG,aAAa;IAChB;QACE,KAAK,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;QAC9B,eAAe,EAAE;YACf,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,eAAe;YACnC,OAAO,EAAE;gBACP,kBAAkB;gBAClB,MAAM,EAAE,UAAU;gBAClB,QAAQ,EAAE,UAAU;gBACpB,OAAO,EAAE,UAAU;gBACnB,OAAO,EAAE,UAAU;gBACnB,MAAM,EAAE,UAAU;gBAClB,MAAM,EAAE,UAAU;gBAClB,SAAS,EAAE,UAAU;gBACrB,UAAU,EAAE,UAAU;gBACtB,MAAM,EAAE,UAAU;gBAClB,OAAO,EAAE,UAAU;gBACnB,OAAO,EAAE,UAAU;aACpB;SACF;QACD,OAAO,EAAE;YACP,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,OAAO;YAC3B,iBAAiB,EAAE,aAAa;SACjC;QACD,KAAK,EAAE;YACL,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK;YACzB,yBAAyB;YACzB,oCAAoC,EAAE,OAAO;YAC7C,oCAAoC,EAAE,OAAO;YAC7C,0CAA0C,EAAE,OAAO;YACnD,2CAA2C,EAAE,OAAO;YACpD,iCAAiC,EAAE,OAAO;YAC1C,kCAAkC,EAAE,OAAO;YAC3C,8CAA8C,EAAE,OAAO;YACvD,yCAAyC,EAAE,OAAO;YAClD,8CAA8C,EAAE,OAAO;SACxD;KACF;IACD;QACE,KAAK,EAAE,CAAC,WAAW,CAAC;QACpB,eAAe,EAAE;YACf,MAAM,EAAE,qBAAqB;YAC7B,aAAa,EAAE;gBACb,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;aACrB;SACF;QACD,OAAO,EAAE;YACP,0BAA0B,EAAE,qBAAqB;SAClD;QACD,KAAK,EAAE;YACL,wCAAwC,EAAE,OAAO;YACjD,gDAAgD,EAAE,OAAO;YACzD,iCAAiC,EAAE,OAAO;YAC1C,6CAA6C,EAAE,OAAO;YACtD,kDAAkD,EAAE,OAAO;YAC3D,2CAA2C,EAAE,OAAO;YACpD,gDAAgD,EAAE,OAAO;SAC1D;KACF;CACF,CAAC"}
@@ -1,88 +1,2 @@
1
- /**
2
- * Rulesets For Dynamo Based Systems
3
- * NTS-PACKAGE: Node TypeScript Package
4
- */
5
- declare const config: {
6
- rules: {
7
- '@typescript-eslint/ban-types': string;
8
- '@typescript-eslint/no-explicit-any': string;
9
- 'max-lines': (string | number)[];
10
- 'no-warning-comments': (string | {
11
- terms: string[];
12
- location: string;
13
- })[];
14
- indent: (string | number | {
15
- SwitchCase: number;
16
- })[];
17
- 'max-len': (string | {
18
- code: number;
19
- comments: number;
20
- })[];
21
- 'linebreak-style': string;
22
- semi: string[];
23
- 'no-unused-vars': string;
24
- 'no-prototype-builtins': string;
25
- 'no-empty': string;
26
- 'comma-dangle': (string | {
27
- arrays: string;
28
- objects: string;
29
- functions: string;
30
- imports: string;
31
- exports: string;
32
- })[];
33
- 'brace-style': (string | {
34
- allowSingleLine: boolean;
35
- })[];
36
- 'object-curly-spacing': string[];
37
- 'array-bracket-spacing': (string | {
38
- objectsInArrays: boolean;
39
- arraysInArrays: boolean;
40
- })[];
41
- 'padding-line-between-statements': (string | {
42
- blankLine: string;
43
- prev: string;
44
- next: string[];
45
- } | {
46
- blankLine: string;
47
- prev: string[];
48
- next: string;
49
- } | {
50
- blankLine: string;
51
- prev: string[];
52
- next: string[];
53
- })[];
54
- 'prefer-const': string;
55
- 'no-case-declarations': string;
56
- 'no-fallthrough': string;
57
- 'keyword-spacing': string;
58
- 'no-else-return': string;
59
- 'no-duplicate-imports': string;
60
- 'max-params': (string | number)[];
61
- 'max-params-no-constructor/max-params-no-constructor': (string | number)[];
62
- quotes: (string | {
63
- allowTemplateLiterals: boolean;
64
- })[];
65
- '@typescript-eslint/no-unused-vars': string;
66
- '@typescript-eslint/explicit-function-return-type': (string | {
67
- allowTypedFunctionExpressions: boolean;
68
- })[];
69
- '@typescript-eslint/typedef': string;
70
- '@futdevpro/dynamo/import-order': string;
71
- '@futdevpro/dynamo/naming-patterns': string;
72
- '@futdevpro/dynamo/no-import-type': string;
73
- '@futdevpro/dynamo/no-js-import': string;
74
- };
75
- env: {
76
- node: boolean;
77
- es2021: boolean;
78
- };
79
- parserOptions: {
80
- sourceType: string;
81
- ecmaVersion: string;
82
- };
83
- parser: string;
84
- plugins: string[];
85
- extends: string[];
86
- };
87
- export = config;
1
+ declare const ntsConfig: any;
88
2
  //# sourceMappingURL=nts-package.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nts-package.d.ts","sourceRoot":"","sources":["../../src/configs/nts-package.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOX,CAAC;AAEF,SAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"nts-package.d.ts","sourceRoot":"","sources":["../../src/configs/nts-package.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS,KAAmB,CAAC"}
@@ -1,16 +1,18 @@
1
- "use strict";
2
- const nts = require("./nts");
1
+ const ntsConfig = require('./nts');
3
2
  /**
4
3
  * Rulesets For Dynamo Based Systems
5
4
  * NTS-PACKAGE: Node TypeScript Package
5
+ * ESLint v9 Flat Config Format
6
6
  */
7
- const config = {
8
- ...nts,
9
- rules: {
10
- ...nts.rules,
11
- '@typescript-eslint/ban-types': 'off',
12
- '@typescript-eslint/no-explicit-any': 'off',
7
+ module.exports = [
8
+ ...ntsConfig,
9
+ {
10
+ files: ['**/*.ts', '**/*.tsx'],
11
+ rules: {
12
+ ...ntsConfig[1].rules,
13
+ '@typescript-eslint/ban-types': 'off',
14
+ '@typescript-eslint/no-explicit-any': 'off',
15
+ },
13
16
  },
14
- };
15
- module.exports = config;
17
+ ];
16
18
  //# sourceMappingURL=nts-package.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nts-package.js","sourceRoot":"","sources":["../../src/configs/nts-package.ts"],"names":[],"mappings":";AAAA,6BAA8B;AAE9B;;;GAGG;AACH,MAAM,MAAM,GAAG;IACb,GAAG,GAAG;IACN,KAAK,EAAE;QACL,GAAG,GAAG,CAAC,KAAK;QACZ,8BAA8B,EAAE,KAAK;QACrC,oCAAoC,EAAE,KAAK;KAC5C;CACF,CAAC;AAEF,iBAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"nts-package.js","sourceRoot":"","sources":["../../src/configs/nts-package.ts"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAEnC;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG;IACf,GAAG,SAAS;IACZ;QACE,KAAK,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;QAC9B,KAAK,EAAE;YACL,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK;YACrB,8BAA8B,EAAE,KAAK;YACrC,oCAAoC,EAAE,KAAK;SAC5C;KACF;CACF,CAAC"}
@@ -1,87 +1,2 @@
1
- /**
2
- * Rulesets For Dynamo Based Systems
3
- * NTS: Node TypeScript
4
- */
5
- declare const config: {
6
- env: {
7
- node: boolean;
8
- es2021: boolean;
9
- };
10
- parserOptions: {
11
- sourceType: string;
12
- ecmaVersion: string;
13
- };
14
- rules: {
15
- 'max-lines': (string | number)[];
16
- 'no-warning-comments': (string | {
17
- terms: string[];
18
- location: string;
19
- })[];
20
- indent: (string | number | {
21
- SwitchCase: number;
22
- })[];
23
- 'max-len': (string | {
24
- code: number;
25
- comments: number;
26
- })[];
27
- 'linebreak-style': string;
28
- semi: string[];
29
- 'no-unused-vars': string;
30
- 'no-prototype-builtins': string;
31
- 'no-empty': string;
32
- 'comma-dangle': (string | {
33
- arrays: string;
34
- objects: string;
35
- functions: string;
36
- imports: string;
37
- exports: string;
38
- })[];
39
- 'brace-style': (string | {
40
- allowSingleLine: boolean;
41
- })[];
42
- 'object-curly-spacing': string[];
43
- 'array-bracket-spacing': (string | {
44
- objectsInArrays: boolean;
45
- arraysInArrays: boolean;
46
- })[];
47
- 'padding-line-between-statements': (string | {
48
- blankLine: string;
49
- prev: string;
50
- next: string[];
51
- } | {
52
- blankLine: string;
53
- prev: string[];
54
- next: string;
55
- } | {
56
- blankLine: string;
57
- prev: string[];
58
- next: string[];
59
- })[];
60
- 'prefer-const': string;
61
- 'no-case-declarations': string;
62
- 'no-fallthrough': string;
63
- 'keyword-spacing': string;
64
- 'no-else-return': string;
65
- 'no-duplicate-imports': string;
66
- 'max-params': (string | number)[];
67
- 'max-params-no-constructor/max-params-no-constructor': (string | number)[];
68
- quotes: (string | {
69
- allowTemplateLiterals: boolean;
70
- })[];
71
- '@typescript-eslint/no-unused-vars': string;
72
- '@typescript-eslint/explicit-function-return-type': (string | {
73
- allowTypedFunctionExpressions: boolean;
74
- })[];
75
- '@typescript-eslint/no-explicit-any': string;
76
- '@typescript-eslint/typedef': string;
77
- '@futdevpro/dynamo/import-order': string;
78
- '@futdevpro/dynamo/naming-patterns': string;
79
- '@futdevpro/dynamo/no-import-type': string;
80
- '@futdevpro/dynamo/no-js-import': string;
81
- };
82
- parser: string;
83
- plugins: string[];
84
- extends: string[];
85
- };
86
- export = config;
1
+ declare const ntsBaseConfig: any;
87
2
  //# sourceMappingURL=nts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nts.d.ts","sourceRoot":"","sources":["../../src/configs/nts.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQX,CAAC;AAEF,SAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"nts.d.ts","sourceRoot":"","sources":["../../src/configs/nts.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,KAAoB,CAAC"}