@camaro/eslint-config 0.1.0 → 0.1.2
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 +14 -0
- package/lib/common.d.ts +1 -1
- package/lib/common.js +0 -1
- package/lib/typescript.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.2](https://github.com/camarojs/camaro/compare/eslint-config-v0.1.1...eslint-config-v0.1.2) (2026-01-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **eslint-config:** enable jsx default ([#33](https://github.com/camarojs/camaro/issues/33)) ([7f5a8ff](https://github.com/camarojs/camaro/commit/7f5a8ffe6a53d2110c38e2deeb95f6c81c6fe006))
|
|
9
|
+
|
|
10
|
+
## [0.1.1](https://github.com/camarojs/camaro/compare/eslint-config-v0.1.0...eslint-config-v0.1.1) (2026-01-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **eslint-config:** add consistent-type-imports rule ([#30](https://github.com/camarojs/camaro/issues/30)) ([d6aac8b](https://github.com/camarojs/camaro/commit/d6aac8b1c99aa4a8bafe9d18dfc3f82d46063e48))
|
|
16
|
+
|
|
3
17
|
## [0.1.0](https://github.com/camarojs/camaro/compare/eslint-config-v0.0.1...eslint-config-v0.1.0) (2025-12-16)
|
|
4
18
|
|
|
5
19
|
|
package/lib/common.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Linter } from "eslint";
|
|
1
|
+
import { type Linter } from "eslint";
|
|
2
2
|
export declare const common: Linter.Config[];
|
package/lib/common.js
CHANGED
package/lib/typescript.js
CHANGED
|
@@ -8,7 +8,7 @@ const eslintTsRules = [
|
|
|
8
8
|
export const ts = [
|
|
9
9
|
...common,
|
|
10
10
|
{
|
|
11
|
-
files: ["**/*.ts"],
|
|
11
|
+
files: ["**/*.ts", "**/*.tsx"],
|
|
12
12
|
languageOptions: {
|
|
13
13
|
parser: eslintTS.parser,
|
|
14
14
|
parserOptions: { projectService: true },
|
|
@@ -16,6 +16,7 @@ export const ts = [
|
|
|
16
16
|
plugins: { "@typescript-eslint": eslintTS.plugin },
|
|
17
17
|
rules: {
|
|
18
18
|
...eslintTsRules,
|
|
19
|
+
"@typescript-eslint/consistent-type-imports": ["error", { fixStyle: "inline-type-imports" }],
|
|
19
20
|
},
|
|
20
21
|
},
|
|
21
22
|
];
|