@enke.dev/lint 0.8.2 → 0.8.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/README.md CHANGED
@@ -71,7 +71,9 @@ For now, no TypeScript support is included.
71
71
  Create a `stylelint.config.js` file in the root of your project and add the following content:
72
72
 
73
73
  ```js
74
+ // @ts-check
75
+
74
76
  import { defineConfig } from '@enke.dev/lint/stylelint.config.js';
75
77
 
76
- export default defineConfig('kvlm');
78
+ export default defineConfig({ cssCustomPropertyPrefix: 'your-prefix' });
77
79
  ```
package/eslint.config.js CHANGED
@@ -12,7 +12,7 @@ import eslintPluginUnusedImports from 'eslint-plugin-unused-imports';
12
12
  import { configs as eslintPluginWebComponentsConfigs } from 'eslint-plugin-wc';
13
13
  import eslintTs from 'typescript-eslint';
14
14
  export default eslintTs.config(eslintJs.configs.recommended, ...eslintTs.configs.strict, ...eslintTs.configs.stylistic, eslintPluginPrettierRecommended, eslintPluginImport.flatConfigs.recommended, eslintPluginPackageJson.configs.recommended, eslintPluginLitConfigs['flat/recommended'], eslintPluginWebComponentsConfigs['flat/recommended'], {
15
- ignores: ['node_modules/', 'dist/', 'lib/'],
15
+ ignores: ['node_modules/', 'dist/'],
16
16
  }, {
17
17
  plugins: {
18
18
  'simple-import-sort': eslintPluginSimpleImportSort,
@@ -20,6 +20,12 @@ export default eslintTs.config(eslintJs.configs.recommended, ...eslintTs.configs
20
20
  'import-extensions': fixupPluginRules(eslintPluginImportExtension),
21
21
  },
22
22
  }, {
23
+ languageOptions: {
24
+ parserOptions: {
25
+ project: true,
26
+ tsconfigRootDir: __dirname,
27
+ },
28
+ },
23
29
  settings: {
24
30
  'import/resolver': {
25
31
  typescript: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enke.dev/lint",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Meta package to provide linting for web projects",
5
5
  "homepage": "https://github.com/enke-dev/lint",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "access": "public"
32
32
  },
33
33
  "peerDependencies": {
34
- "eslint": "^9.30.0",
34
+ "eslint": "^9.34.0",
35
35
  "prettier": "^3.6.2"
36
36
  },
37
37
  "optionalDependencies": {
@@ -41,23 +41,23 @@
41
41
  "stylelint-order": "^7.0.0"
42
42
  },
43
43
  "dependencies": {
44
- "@eslint/compat": "^1.3.1",
45
- "@eslint/js": "^9.30.0",
44
+ "@eslint/compat": "^1.3.2",
45
+ "@eslint/js": "^9.34.0",
46
46
  "@eslint/json": "^0.13.2",
47
- "@typescript-eslint/eslint-plugin": "^8.35.0",
48
- "@typescript-eslint/parser": "^8.35.0",
49
- "eslint-config-prettier": "^10.1.5",
47
+ "@typescript-eslint/eslint-plugin": "^8.42.0",
48
+ "@typescript-eslint/parser": "^8.42.0",
49
+ "eslint-config-prettier": "^10.1.8",
50
50
  "eslint-import-resolver-typescript": "^4.4.4",
51
51
  "eslint-plugin-import": "^2.32.0",
52
52
  "eslint-plugin-import-extensions": "^0.1.5",
53
53
  "eslint-plugin-lit": "^2.1.1",
54
54
  "eslint-plugin-package-json": "^0.56.1",
55
- "eslint-plugin-prettier": "^5.5.1",
55
+ "eslint-plugin-prettier": "^5.5.4",
56
56
  "eslint-plugin-simple-import-sort": "^12.1.1",
57
- "eslint-plugin-unused-imports": "^4.1.4",
57
+ "eslint-plugin-unused-imports": "^4.2.0",
58
58
  "eslint-plugin-wc": "^3.0.1",
59
- "typescript": "^5.8.3",
60
- "typescript-eslint": "^8.35.0"
59
+ "typescript": "^5.9.2",
60
+ "typescript-eslint": "^8.42.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/node": "24.3.0",
@@ -65,6 +65,9 @@
65
65
  "typescript": "5.9.2"
66
66
  },
67
67
  "overrides": {
68
+ "eslint-plugin-unused-imports": {
69
+ "@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin"
70
+ },
68
71
  "typescript-eslint": {
69
72
  "typescript": "$typescript"
70
73
  }