@paperless/conventions 2.22.0-alpha.18 → 2.22.0-alpha.19

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.22.0-alpha.19](https://github.com/Employes/Paperless/compare/v2.22.0-alpha.18...v2.22.0-alpha.19) (2026-01-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **conventions/eslint:** Only apply import plugin to javascript files ([f25f84c](https://github.com/Employes/Paperless/commit/f25f84cc29b6dafdb4db673573428894c9b79e18))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.22.0-alpha.18](https://github.com/Employes/Paperless/compare/v2.22.0-alpha.17...v2.22.0-alpha.18) (2026-01-14)
7
18
 
8
19
  **Note:** Version bump only for package @paperless/conventions
package/eslint.config.js CHANGED
@@ -17,7 +17,6 @@ export default defineConfig([
17
17
  ...jsoncPlugin.configs['flat/recommended-with-json'],
18
18
  ...jsoncPlugin.configs['flat/recommended-with-jsonc'],
19
19
  unicornPlugin.configs.all,
20
- importPlugin.flatConfigs.recommended,
21
20
  {
22
21
  languageOptions: {
23
22
  globals: globals.builtin,
@@ -34,6 +33,10 @@ export default defineConfig([
34
33
  node: true,
35
34
  },
36
35
  },
36
+ },
37
+ {
38
+ files: ['**/*.{ts,tsx,js,jsx}'],
39
+ extends: [importPlugin.flatConfigs.recommended],
37
40
  rules: {
38
41
  'arrow-body-style': ['error', 'as-needed'],
39
42
  'unicorn/no-null': 'off',
@@ -68,14 +71,18 @@ export default defineConfig([
68
71
  },
69
72
  },
70
73
  {
71
- files: ['*.js'],
74
+ files: ['**/*.{ts,tsx}'],
75
+ extends: [importPlugin.flatConfigs.typescript],
76
+ },
77
+ {
78
+ files: ['**/*.js'],
72
79
  plugins: {
73
80
  '@nx': nxPlugin,
74
81
  },
75
82
  extends: ['@nx/javascript'],
76
83
  },
77
84
  {
78
- files: ['*.tsx', '*.jsx'],
85
+ files: ['**/*.{tsx,jsx}'],
79
86
  plugins: {
80
87
  '@nx': nxPlugin,
81
88
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paperless/conventions",
3
3
  "description": "Paperless eslint, typescript & prettier recommended configuration",
4
- "version": "2.22.0-alpha.18",
4
+ "version": "2.22.0-alpha.19",
5
5
  "license": "ISC",
6
6
  "type": "module",
7
7
  "publishConfig": {