@4mbl/lint 0.0.0-alpha.a5f04dc → 0.0.0-alpha.a9085f2
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/CHANGELOG.md +0 -18
- package/dist/base.d.ts +2 -8
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +1 -4
- package/dist/base.js.map +1 -1
- package/dist/node.d.ts +4 -22
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +0 -7
- package/dist/node.js.map +1 -1
- package/dist/react.d.ts +4 -10
- package/dist/react.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
1
|
# @4mbl/lint
|
|
2
2
|
|
|
3
|
-
## 1.0.0-beta.14
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- e34f9fe: Enable import plugin in base
|
|
8
|
-
- 5586655: Disable some import plugin rules in base
|
|
9
|
-
- 9b2b412: Disable `no-nodejs-modules` in node
|
|
10
|
-
|
|
11
|
-
## 1.0.0-beta.13
|
|
12
|
-
|
|
13
|
-
### Minor Changes
|
|
14
|
-
|
|
15
|
-
- dd66007: Pin dependencies to ensure future compatibility
|
|
16
|
-
- 0feb87d: Remove unused dependencies and inline trivial imports
|
|
17
|
-
- 1d98a33: Disable `react/forbid-component-props` and `react/forbid-dom-props` to ensure Tailwind compatibility
|
|
18
|
-
- a9085f2: Extend inherited plugins in child presets
|
|
19
|
-
- 014d999: Allow `eslint/no-underscore-dangle` for `__dirname` and `__filename` in node
|
|
20
|
-
|
|
21
3
|
## 1.0.0-beta.12
|
|
22
4
|
|
|
23
5
|
### Minor Changes
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
type BaseOptions = {};
|
|
3
3
|
declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
4
|
-
plugins: ("unicorn" | "typescript"
|
|
4
|
+
plugins: ("unicorn" | "typescript")[];
|
|
5
5
|
jsPlugins: never[];
|
|
6
6
|
categories: {
|
|
7
7
|
correctness: "error";
|
|
@@ -133,15 +133,12 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
133
133
|
'import/no-namespace': "off";
|
|
134
134
|
'import/exports-last': "off";
|
|
135
135
|
'import/no-unassigned-import': "off";
|
|
136
|
-
'import/group-exports': "off";
|
|
137
|
-
'import/consistent-type-specifier-style': "off";
|
|
138
136
|
'unicorn/no-new-array': "off";
|
|
139
137
|
'eslint/no-array-constructor': "warn";
|
|
140
138
|
'typescript/explicit-function-return-type': "off";
|
|
141
139
|
'typescript/explicit-module-boundary-types': "off";
|
|
142
140
|
'unicorn/no-anonymous-default-export': "off";
|
|
143
141
|
'eslint/sort-imports': "off";
|
|
144
|
-
'import/no-relative-parent-imports': "off";
|
|
145
142
|
'eslint/no-magic-numbers': "off";
|
|
146
143
|
'unicorn/prefer-modern-math-apis': "off";
|
|
147
144
|
'eslint/no-use-before-define': "off";
|
|
@@ -163,7 +160,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
163
160
|
};
|
|
164
161
|
export { type OxlintConfig, defineConfig, baseConfig };
|
|
165
162
|
declare const _default: {
|
|
166
|
-
plugins: ("unicorn" | "typescript"
|
|
163
|
+
plugins: ("unicorn" | "typescript")[];
|
|
167
164
|
jsPlugins: never[];
|
|
168
165
|
categories: {
|
|
169
166
|
correctness: "error";
|
|
@@ -295,15 +292,12 @@ declare const _default: {
|
|
|
295
292
|
'import/no-namespace': "off";
|
|
296
293
|
'import/exports-last': "off";
|
|
297
294
|
'import/no-unassigned-import': "off";
|
|
298
|
-
'import/group-exports': "off";
|
|
299
|
-
'import/consistent-type-specifier-style': "off";
|
|
300
295
|
'unicorn/no-new-array': "off";
|
|
301
296
|
'eslint/no-array-constructor': "warn";
|
|
302
297
|
'typescript/explicit-function-return-type': "off";
|
|
303
298
|
'typescript/explicit-module-boundary-types': "off";
|
|
304
299
|
'unicorn/no-anonymous-default-export': "off";
|
|
305
300
|
'eslint/sort-imports': "off";
|
|
306
|
-
'import/no-relative-parent-imports': "off";
|
|
307
301
|
'eslint/no-magic-numbers': "off";
|
|
308
302
|
'unicorn/prefer-modern-math-apis': "off";
|
|
309
303
|
'eslint/no-use-before-define': "off";
|
package/dist/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsLlD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,wBAA4B"}
|
package/dist/base.js
CHANGED
|
@@ -3,7 +3,7 @@ import { defineConfig } from 'oxlint';
|
|
|
3
3
|
function baseConfig(_options) {
|
|
4
4
|
// const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
5
5
|
return defineConfig({
|
|
6
|
-
plugins: ['
|
|
6
|
+
plugins: ['typescript', 'unicorn'],
|
|
7
7
|
jsPlugins: [],
|
|
8
8
|
categories: {
|
|
9
9
|
correctness: 'error',
|
|
@@ -137,8 +137,6 @@ function baseConfig(_options) {
|
|
|
137
137
|
'import/no-namespace': 'off', // star imports are still pretty necessary
|
|
138
138
|
'import/exports-last': 'off', // star imports are still pretty necessary
|
|
139
139
|
'import/no-unassigned-import': 'off', // required for css imports
|
|
140
|
-
'import/group-exports': 'off', // co-locating export statement with the function it exports is more readable
|
|
141
|
-
'import/consistent-type-specifier-style': 'off', // single import per file is more readable
|
|
142
140
|
// Array.from() is slower than new Array()
|
|
143
141
|
// https://jsperf.app/tatuse
|
|
144
142
|
'unicorn/no-new-array': 'off',
|
|
@@ -149,7 +147,6 @@ function baseConfig(_options) {
|
|
|
149
147
|
// may revisit
|
|
150
148
|
'unicorn/no-anonymous-default-export': 'off',
|
|
151
149
|
'eslint/sort-imports': 'off', // consider when oxfmt is setup
|
|
152
|
-
'import/no-relative-parent-imports': 'off',
|
|
153
150
|
// currently produces too many false positives
|
|
154
151
|
'eslint/no-magic-numbers': 'off',
|
|
155
152
|
'unicorn/prefer-modern-math-apis': 'off',
|
package/dist/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AAIzD,2CAA2C;AAE3C,SAAS,UAAU,CAAC,QAA+B;IACjD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"base.js","sourceR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
type NodeOptions = {};
|
|
3
3
|
declare function nodeConfig(options?: Partial<NodeOptions>): {
|
|
4
4
|
extends: {
|
|
5
|
-
plugins: ("unicorn" | "typescript"
|
|
5
|
+
plugins: ("unicorn" | "typescript")[];
|
|
6
6
|
jsPlugins: never[];
|
|
7
7
|
categories: {
|
|
8
8
|
correctness: "error";
|
|
@@ -134,15 +134,12 @@ declare function nodeConfig(options?: Partial<NodeOptions>): {
|
|
|
134
134
|
'import/no-namespace': "off";
|
|
135
135
|
'import/exports-last': "off";
|
|
136
136
|
'import/no-unassigned-import': "off";
|
|
137
|
-
'import/group-exports': "off";
|
|
138
|
-
'import/consistent-type-specifier-style': "off";
|
|
139
137
|
'unicorn/no-new-array': "off";
|
|
140
138
|
'eslint/no-array-constructor': "warn";
|
|
141
139
|
'typescript/explicit-function-return-type': "off";
|
|
142
140
|
'typescript/explicit-module-boundary-types': "off";
|
|
143
141
|
'unicorn/no-anonymous-default-export': "off";
|
|
144
142
|
'eslint/sort-imports': "off";
|
|
145
|
-
'import/no-relative-parent-imports': "off";
|
|
146
143
|
'eslint/no-magic-numbers': "off";
|
|
147
144
|
'unicorn/prefer-modern-math-apis': "off";
|
|
148
145
|
'eslint/no-use-before-define': "off";
|
|
@@ -162,21 +159,15 @@ declare function nodeConfig(options?: Partial<NodeOptions>): {
|
|
|
162
159
|
'oxc/no-async-await': "off";
|
|
163
160
|
};
|
|
164
161
|
}[];
|
|
165
|
-
plugins: ("unicorn" | "typescript"
|
|
162
|
+
plugins: ("unicorn" | "typescript")[];
|
|
166
163
|
env: {
|
|
167
164
|
node: true;
|
|
168
165
|
};
|
|
169
|
-
rules: {
|
|
170
|
-
'eslint/no-underscore-dangle': ["warn", {
|
|
171
|
-
allow: string[];
|
|
172
|
-
}];
|
|
173
|
-
'no-nodejs-modules': "off";
|
|
174
|
-
};
|
|
175
166
|
};
|
|
176
167
|
export { type OxlintConfig, defineConfig, nodeConfig };
|
|
177
168
|
declare const _default: {
|
|
178
169
|
extends: {
|
|
179
|
-
plugins: ("unicorn" | "typescript"
|
|
170
|
+
plugins: ("unicorn" | "typescript")[];
|
|
180
171
|
jsPlugins: never[];
|
|
181
172
|
categories: {
|
|
182
173
|
correctness: "error";
|
|
@@ -308,15 +299,12 @@ declare const _default: {
|
|
|
308
299
|
'import/no-namespace': "off";
|
|
309
300
|
'import/exports-last': "off";
|
|
310
301
|
'import/no-unassigned-import': "off";
|
|
311
|
-
'import/group-exports': "off";
|
|
312
|
-
'import/consistent-type-specifier-style': "off";
|
|
313
302
|
'unicorn/no-new-array': "off";
|
|
314
303
|
'eslint/no-array-constructor': "warn";
|
|
315
304
|
'typescript/explicit-function-return-type': "off";
|
|
316
305
|
'typescript/explicit-module-boundary-types': "off";
|
|
317
306
|
'unicorn/no-anonymous-default-export': "off";
|
|
318
307
|
'eslint/sort-imports': "off";
|
|
319
|
-
'import/no-relative-parent-imports': "off";
|
|
320
308
|
'eslint/no-magic-numbers': "off";
|
|
321
309
|
'unicorn/prefer-modern-math-apis': "off";
|
|
322
310
|
'eslint/no-use-before-define': "off";
|
|
@@ -336,16 +324,10 @@ declare const _default: {
|
|
|
336
324
|
'oxc/no-async-await': "off";
|
|
337
325
|
};
|
|
338
326
|
}[];
|
|
339
|
-
plugins: ("unicorn" | "typescript"
|
|
327
|
+
plugins: ("unicorn" | "typescript")[];
|
|
340
328
|
env: {
|
|
341
329
|
node: true;
|
|
342
330
|
};
|
|
343
|
-
rules: {
|
|
344
|
-
'eslint/no-underscore-dangle': ["warn", {
|
|
345
|
-
allow: string[];
|
|
346
|
-
}];
|
|
347
|
-
'no-nodejs-modules': "off";
|
|
348
|
-
};
|
|
349
331
|
};
|
|
350
332
|
export default _default;
|
|
351
333
|
//# sourceMappingURL=node.d.ts.map
|
package/dist/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAajD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,wBAA4B"}
|
package/dist/node.js
CHANGED
|
@@ -11,13 +11,6 @@ function nodeConfig(options) {
|
|
|
11
11
|
env: {
|
|
12
12
|
node: true,
|
|
13
13
|
},
|
|
14
|
-
rules: {
|
|
15
|
-
'eslint/no-underscore-dangle': [
|
|
16
|
-
'warn',
|
|
17
|
-
{ allow: ['__dirname', '__filename'] },
|
|
18
|
-
],
|
|
19
|
-
'no-nodejs-modules': 'off',
|
|
20
|
-
},
|
|
21
14
|
});
|
|
22
15
|
}
|
|
23
16
|
export { defineConfig, nodeConfig };
|
package/dist/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,2CAA2C;AAE3C,SAAS,UAAU,CAAC,OAA8B;IAChD,mDAAmD;IAEnD,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjC,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,8FAA8F;QAC9F,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,GAAG,EAAE;YACH,IAAI,EAAE,IAAI;SACX;
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,2CAA2C;AAE3C,SAAS,UAAU,CAAC,OAA8B;IAChD,mDAAmD;IAEnD,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjC,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,8FAA8F;QAC9F,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,GAAG,EAAE;YACH,IAAI,EAAE,IAAI;SACX;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,UAAU,EAAE,CAAC;AAEvD,eAAe,UAAU,EAAE,CAAC"}
|
package/dist/react.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
|
2
2
|
export type ReactOptions = {};
|
|
3
3
|
declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
4
4
|
extends: {
|
|
5
|
-
plugins: ("unicorn" | "typescript"
|
|
5
|
+
plugins: ("unicorn" | "typescript")[];
|
|
6
6
|
jsPlugins: never[];
|
|
7
7
|
categories: {
|
|
8
8
|
correctness: "error";
|
|
@@ -134,15 +134,12 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
134
134
|
'import/no-namespace': "off";
|
|
135
135
|
'import/exports-last': "off";
|
|
136
136
|
'import/no-unassigned-import': "off";
|
|
137
|
-
'import/group-exports': "off";
|
|
138
|
-
'import/consistent-type-specifier-style': "off";
|
|
139
137
|
'unicorn/no-new-array': "off";
|
|
140
138
|
'eslint/no-array-constructor': "warn";
|
|
141
139
|
'typescript/explicit-function-return-type': "off";
|
|
142
140
|
'typescript/explicit-module-boundary-types': "off";
|
|
143
141
|
'unicorn/no-anonymous-default-export': "off";
|
|
144
142
|
'eslint/sort-imports': "off";
|
|
145
|
-
'import/no-relative-parent-imports': "off";
|
|
146
143
|
'eslint/no-magic-numbers': "off";
|
|
147
144
|
'unicorn/prefer-modern-math-apis': "off";
|
|
148
145
|
'eslint/no-use-before-define': "off";
|
|
@@ -162,7 +159,7 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
162
159
|
'oxc/no-async-await': "off";
|
|
163
160
|
};
|
|
164
161
|
}[];
|
|
165
|
-
plugins: ("react" | "unicorn" | "typescript"
|
|
162
|
+
plugins: ("react" | "unicorn" | "typescript")[];
|
|
166
163
|
jsPlugins: {
|
|
167
164
|
name: string;
|
|
168
165
|
specifier: string;
|
|
@@ -231,7 +228,7 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
231
228
|
export { type OxlintConfig, defineConfig, reactConfig };
|
|
232
229
|
declare const _default: {
|
|
233
230
|
extends: {
|
|
234
|
-
plugins: ("unicorn" | "typescript"
|
|
231
|
+
plugins: ("unicorn" | "typescript")[];
|
|
235
232
|
jsPlugins: never[];
|
|
236
233
|
categories: {
|
|
237
234
|
correctness: "error";
|
|
@@ -363,15 +360,12 @@ declare const _default: {
|
|
|
363
360
|
'import/no-namespace': "off";
|
|
364
361
|
'import/exports-last': "off";
|
|
365
362
|
'import/no-unassigned-import': "off";
|
|
366
|
-
'import/group-exports': "off";
|
|
367
|
-
'import/consistent-type-specifier-style': "off";
|
|
368
363
|
'unicorn/no-new-array': "off";
|
|
369
364
|
'eslint/no-array-constructor': "warn";
|
|
370
365
|
'typescript/explicit-function-return-type': "off";
|
|
371
366
|
'typescript/explicit-module-boundary-types': "off";
|
|
372
367
|
'unicorn/no-anonymous-default-export': "off";
|
|
373
368
|
'eslint/sort-imports': "off";
|
|
374
|
-
'import/no-relative-parent-imports': "off";
|
|
375
369
|
'eslint/no-magic-numbers': "off";
|
|
376
370
|
'unicorn/prefer-modern-math-apis': "off";
|
|
377
371
|
'eslint/no-use-before-define': "off";
|
|
@@ -391,7 +385,7 @@ declare const _default: {
|
|
|
391
385
|
'oxc/no-async-await': "off";
|
|
392
386
|
};
|
|
393
387
|
}[];
|
|
394
|
-
plugins: ("react" | "unicorn" | "typescript"
|
|
388
|
+
plugins: ("react" | "unicorn" | "typescript")[];
|
|
395
389
|
jsPlugins: {
|
|
396
390
|
name: string;
|
|
397
391
|
specifier: string;
|
package/dist/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAI9B,iBAAS,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAI9B,iBAAS,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkFnD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,wBAA6B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4mbl/lint",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.a9085f2",
|
|
4
4
|
"description": "Linting configuration for various environments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "4mbl",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^24.12.2",
|
|
41
|
-
"@4mbl/tsconfig": "0.0.0-alpha.
|
|
41
|
+
"@4mbl/tsconfig": "0.0.0-alpha.a9085f2"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsc"
|