@4mbl/lint 1.0.0-beta.0 → 1.0.0-beta.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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/base.ts +3 -1
- package/src/next.ts +3 -1
- package/src/node.ts +3 -1
- package/src/react.ts +3 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineConfig } from 'oxlint';
|
|
1
|
+
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
|
|
3
3
|
type BaseOptions = {
|
|
4
4
|
uiPath: string;
|
|
@@ -130,3 +130,5 @@ export default function (_options?: Partial<BaseOptions>) {
|
|
|
130
130
|
],
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
+
|
|
134
|
+
export type { OxlintConfig };
|
package/src/next.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineConfig } from 'oxlint';
|
|
1
|
+
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
import react, { type ReactOptions } from './react.ts';
|
|
3
3
|
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
4
4
|
|
|
@@ -77,3 +77,5 @@ export default function (options?: Partial<NextOptions>) {
|
|
|
77
77
|
],
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
+
|
|
81
|
+
export type { OxlintConfig };
|
package/src/node.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineConfig } from 'oxlint';
|
|
1
|
+
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
import base from './base.ts';
|
|
3
3
|
|
|
4
4
|
type NodeOptions = {};
|
|
@@ -11,3 +11,5 @@ export default function (_options?: Partial<NodeOptions>) {
|
|
|
11
11
|
extends: [base()],
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
+
|
|
15
|
+
export type { OxlintConfig };
|
package/src/react.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineConfig } from 'oxlint';
|
|
1
|
+
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
import base from './base.ts';
|
|
3
3
|
|
|
4
4
|
export type ReactOptions = {};
|
|
@@ -72,3 +72,5 @@ export default function (_options?: Partial<ReactOptions>) {
|
|
|
72
72
|
],
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
+
|
|
76
|
+
export type { OxlintConfig };
|