@trackunit/eslint-plugin-trackunit 0.6.101 → 0.6.103

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 CHANGED
@@ -1,3 +1,26 @@
1
+ ## 0.6.103 (2026-08-13)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated css-classname-utils to 0.0.9
6
+ - Updated shared-utils to 1.16.6
7
+
8
+ ## 0.6.102 (2026-08-13)
9
+
10
+ ### 🚀 Features
11
+
12
+ - **react-components:** export non-hook localStorage accessors ([31ad79ac14d](https://github.com/Trackunit/manager/commit/31ad79ac14d))
13
+
14
+ ### 🧱 Updated Dependencies
15
+
16
+ - Updated css-classname-utils to 0.0.8
17
+ - Updated shared-utils to 1.16.5
18
+
19
+ ### ❤️ Thank You
20
+
21
+ - Cursor @cursoragent
22
+ - Mikkel Thorbjørn Andersen
23
+
1
24
  ## 0.6.101 (2026-08-12)
2
25
 
3
26
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/eslint-plugin-trackunit",
3
- "version": "0.6.101",
3
+ "version": "0.6.103",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@nx/eslint-plugin": "23.1.0",
11
- "@trackunit/css-classname-utils": "0.0.7",
11
+ "@trackunit/css-classname-utils": "0.0.9",
12
12
  "@typescript-eslint/eslint-plugin": "8.58.1",
13
13
  "@typescript-eslint/utils": "8.58.1",
14
14
  "eslint-config-prettier": "^10.1.8",
@@ -43,6 +43,7 @@ const storageHookImplementationFiles = [
43
43
  "libs/react/components/src/hooks/localStorage/useLocalStorageReducer.ts",
44
44
  "libs/react/components/src/hooks/localStorage/useSessionStorage.ts",
45
45
  "libs/react/components/src/hooks/localStorage/useSessionStorageReducer.ts",
46
+ "libs/shared/utils/src/localStorage/localStorageAccessors.ts",
46
47
  ];
47
48
  exports.noDirectStoragePropertyExceptionOverrides = {
48
49
  basePath: (0, utils_1.findMonorepoRoot)(),
@@ -179,6 +179,7 @@ export declare const configs: {
179
179
  "no-console": string;
180
180
  "no-var": string;
181
181
  "prefer-const": string;
182
+ "prefer-template": string;
182
183
  "no-template-curly-in-string": string;
183
184
  eqeqeq: string[];
184
185
  "no-undef-init": string;
@@ -179,6 +179,7 @@ export declare const base: (import("eslint").Linter.FlatConfig<import("eslint").
179
179
  "no-console": string;
180
180
  "no-var": string;
181
181
  "prefer-const": string;
182
+ "prefer-template": string;
182
183
  "no-template-curly-in-string": string;
183
184
  eqeqeq: string[];
184
185
  "no-undef-init": string;
@@ -93,6 +93,7 @@ exports.base = [
93
93
  "no-console": "error",
94
94
  "no-var": "error",
95
95
  "prefer-const": "error",
96
+ "prefer-template": "error",
96
97
  "no-template-curly-in-string": "error",
97
98
  eqeqeq: ["error", "always"],
98
99
  "no-undef-init": "error",
@@ -86,14 +86,14 @@ const addImportSpecifiers = (options) => {
86
86
  const lastImport = sourceCode.ast.body.find((node) => node.type === utils_1.AST_NODE_TYPES.ImportDeclaration);
87
87
  if (lastImport) {
88
88
  // Add after existing imports with leading newline
89
- const importStatement = "\n" + buildImportStatement(sourceCode, packageName, specifiers, lastImport);
89
+ const importStatement = `\n${buildImportStatement(sourceCode, packageName, specifiers, lastImport)}`;
90
90
  fixes.push(fixer.insertTextAfter(lastImport, importStatement));
91
91
  }
92
92
  else {
93
93
  // No imports exist - add at the beginning with trailing newlines
94
94
  const firstNode = sourceCode.ast.body[0];
95
95
  if (firstNode) {
96
- const importStatement = buildImportStatement(sourceCode, packageName, specifiers) + "\n\n";
96
+ const importStatement = `${buildImportStatement(sourceCode, packageName, specifiers)}\n\n`;
97
97
  fixes.push(fixer.insertTextBefore(firstNode, importStatement));
98
98
  }
99
99
  }