@kamaal111/kamaal-quality-config 0.0.2 → 0.0.3

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/dist/index.d.ts CHANGED
@@ -18,6 +18,42 @@ declare const _default: {
18
18
  'typescript/consistent-type-assertions': ["error", {
19
19
  assertionStyle: "never";
20
20
  }];
21
+ 'typescript/no-explicit-any': "error";
22
+ 'typescript/ban-ts-comment': ["error", {
23
+ minimumDescriptionLength: number;
24
+ }];
25
+ 'typescript/no-duplicate-enum-values': "error";
26
+ 'typescript/no-empty-object-type': "error";
27
+ 'typescript/no-extra-non-null-assertion': "error";
28
+ 'typescript/no-misused-new': "error";
29
+ 'typescript/no-namespace': "error";
30
+ 'typescript/no-non-null-asserted-optional-chain': "error";
31
+ 'typescript/no-require-imports': "error";
32
+ 'typescript/no-this-alias': "error";
33
+ 'typescript/no-unnecessary-type-constraint': "error";
34
+ 'typescript/no-unsafe-declaration-merging': "error";
35
+ 'typescript/no-unsafe-function-type': "error";
36
+ 'typescript/no-wrapper-object-types': "error";
37
+ 'typescript/prefer-as-const': "error";
38
+ 'typescript/prefer-namespace-keyword': "error";
39
+ 'typescript/triple-slash-reference': "error";
40
+ 'typescript/no-dynamic-delete': "error";
41
+ 'typescript/no-extraneous-class': "error";
42
+ 'typescript/no-invalid-void-type': "error";
43
+ 'typescript/no-non-null-asserted-nullish-coalescing': "error";
44
+ 'typescript/prefer-literal-enum-member': "error";
45
+ 'typescript/unified-signatures': "error";
46
+ 'typescript/adjacent-overload-signatures': "error";
47
+ 'typescript/array-type': "error";
48
+ 'typescript/ban-tslint-comment': "error";
49
+ 'typescript/class-literal-property-style': "error";
50
+ 'typescript/consistent-generic-constructors': "error";
51
+ 'typescript/consistent-indexed-object-style': "error";
52
+ 'typescript/consistent-type-definitions': "error";
53
+ 'typescript/no-confusing-non-null-assertion': "error";
54
+ 'typescript/no-inferrable-types': "error";
55
+ 'typescript/prefer-for-of': "error";
56
+ 'typescript/prefer-function-type': "error";
21
57
  'oxc/no-accumulating-spread': "error";
22
58
  'anti-slop/no-runtime-typeof': ["error", {
23
59
  allowInTypeGuards: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA6BuB,KAAK;gBAAS,eAAe"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA+DuB,KAAK;gBAAS,eAAe"}
package/dist/index.js CHANGED
@@ -16,6 +16,40 @@ export default defineConfig({
16
16
  'typescript/consistent-type-imports': 'error',
17
17
  'typescript/no-non-null-assertion': 'error',
18
18
  'typescript/consistent-type-assertions': ['error', { assertionStyle: 'never' }],
19
+ 'typescript/no-explicit-any': 'error',
20
+ 'typescript/ban-ts-comment': ['error', { minimumDescriptionLength: 10 }],
21
+ 'typescript/no-duplicate-enum-values': 'error',
22
+ 'typescript/no-empty-object-type': 'error',
23
+ 'typescript/no-extra-non-null-assertion': 'error',
24
+ 'typescript/no-misused-new': 'error',
25
+ 'typescript/no-namespace': 'error',
26
+ 'typescript/no-non-null-asserted-optional-chain': 'error',
27
+ 'typescript/no-require-imports': 'error',
28
+ 'typescript/no-this-alias': 'error',
29
+ 'typescript/no-unnecessary-type-constraint': 'error',
30
+ 'typescript/no-unsafe-declaration-merging': 'error',
31
+ 'typescript/no-unsafe-function-type': 'error',
32
+ 'typescript/no-wrapper-object-types': 'error',
33
+ 'typescript/prefer-as-const': 'error',
34
+ 'typescript/prefer-namespace-keyword': 'error',
35
+ 'typescript/triple-slash-reference': 'error',
36
+ 'typescript/no-dynamic-delete': 'error',
37
+ 'typescript/no-extraneous-class': 'error',
38
+ 'typescript/no-invalid-void-type': 'error',
39
+ 'typescript/no-non-null-asserted-nullish-coalescing': 'error',
40
+ 'typescript/prefer-literal-enum-member': 'error',
41
+ 'typescript/unified-signatures': 'error',
42
+ 'typescript/adjacent-overload-signatures': 'error',
43
+ 'typescript/array-type': 'error',
44
+ 'typescript/ban-tslint-comment': 'error',
45
+ 'typescript/class-literal-property-style': 'error',
46
+ 'typescript/consistent-generic-constructors': 'error',
47
+ 'typescript/consistent-indexed-object-style': 'error',
48
+ 'typescript/consistent-type-definitions': 'error',
49
+ 'typescript/no-confusing-non-null-assertion': 'error',
50
+ 'typescript/no-inferrable-types': 'error',
51
+ 'typescript/prefer-for-of': 'error',
52
+ 'typescript/prefer-function-type': 'error',
19
53
  'oxc/no-accumulating-spread': 'error',
20
54
  'anti-slop/no-runtime-typeof': ['error', { allowInTypeGuards: true }],
21
55
  'import-js/order': [
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,aAAa,GAAG,MAAM,CAAC,WAAW,CACtC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,aAAa,QAAQ,EAAE,EAAE,OAAO,CAAU,CAAC,CAC/F,CAAC;AAEF,eAAe,YAAY,CAAC;IAC1B,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,KAAK,CAAC;IACzC,SAAS,EAAE;QACT,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,oCAAoC,EAAE;QACtE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,sBAAsB,EAAE;KACzD;IACD,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;IAC5B,UAAU,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE;IACpC,KAAK,EAAE;QACL,GAAG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CAAiC,EAAE,OAAO;QAC1C,4BAA4B,EAAE,OAAO;QACrC,6BAA6B,EAAE,CAAC,OAAO,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;QACrE,iBAAiB,EAAE;YACjB,OAAO;YACP;gBACE,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;gBAC3E,kBAAkB,EAAE,QAAQ;gBAC5B,WAAW,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE;aACrD;SACF;KACF;IACD,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACvB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"oxfmt.d.ts","sourceRoot":"","sources":["../src/oxfmt.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,gBAAgB;aACpB,UAAU,EAAE,GAAG;aACf,WAAW,EAAE,OAAO;aACpB,WAAW;CACH,CAAC;eAEI,gBAAgB"}
1
+ {"version":3,"file":"oxfmt.d.ts","sourceRoot":"","sources":["../src/oxfmt.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,gBAAgB;yBACR,GAAG;0BACF,OAAO;;CAEM,CAAC;eAEd,gBAAgB"}
package/dist/oxfmt.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"oxfmt.js","sourceRoot":"","sources":["../src/oxfmt.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;IACvB,UAAU,EAAE,GAAG;IACf,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CACT,CAAC;AAEX,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"oxfmt.js","sourceRoot":"","sources":["../src/oxfmt.ts"],"names":[],"mappings":"AAEA,MAAM,gBAAgB,GAAG;IACvB,UAAU,EAAE,GAAG;IACf,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CACS,CAAC;AAE7B,eAAe,gBAAgB,CAAC"}
@@ -54,6 +54,45 @@
54
54
  "assertionStyle": "never"
55
55
  }
56
56
  ],
57
+ "typescript/no-explicit-any": "error",
58
+ "typescript/ban-ts-comment": [
59
+ "error",
60
+ {
61
+ "minimumDescriptionLength": 10
62
+ }
63
+ ],
64
+ "typescript/no-duplicate-enum-values": "error",
65
+ "typescript/no-empty-object-type": "error",
66
+ "typescript/no-extra-non-null-assertion": "error",
67
+ "typescript/no-misused-new": "error",
68
+ "typescript/no-namespace": "error",
69
+ "typescript/no-non-null-asserted-optional-chain": "error",
70
+ "typescript/no-require-imports": "error",
71
+ "typescript/no-this-alias": "error",
72
+ "typescript/no-unnecessary-type-constraint": "error",
73
+ "typescript/no-unsafe-declaration-merging": "error",
74
+ "typescript/no-unsafe-function-type": "error",
75
+ "typescript/no-wrapper-object-types": "error",
76
+ "typescript/prefer-as-const": "error",
77
+ "typescript/prefer-namespace-keyword": "error",
78
+ "typescript/triple-slash-reference": "error",
79
+ "typescript/no-dynamic-delete": "error",
80
+ "typescript/no-extraneous-class": "error",
81
+ "typescript/no-invalid-void-type": "error",
82
+ "typescript/no-non-null-asserted-nullish-coalescing": "error",
83
+ "typescript/prefer-literal-enum-member": "error",
84
+ "typescript/unified-signatures": "error",
85
+ "typescript/adjacent-overload-signatures": "error",
86
+ "typescript/array-type": "error",
87
+ "typescript/ban-tslint-comment": "error",
88
+ "typescript/class-literal-property-style": "error",
89
+ "typescript/consistent-generic-constructors": "error",
90
+ "typescript/consistent-indexed-object-style": "error",
91
+ "typescript/consistent-type-definitions": "error",
92
+ "typescript/no-confusing-non-null-assertion": "error",
93
+ "typescript/no-inferrable-types": "error",
94
+ "typescript/prefer-for-of": "error",
95
+ "typescript/prefer-function-type": "error",
57
96
  "oxc/no-accumulating-spread": "error",
58
97
  "import-js/order": [
59
98
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kamaal111/kamaal-quality-config",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Kamaal Farah's shared oxlint quality config.",
5
5
  "keywords": [
6
6
  "lint",