@paperless/conventions 3.5.1 → 3.6.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 +19 -0
- package/eslint.config.js +13 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [3.6.1](https://github.com/Employes/Paperless/compare/v3.6.0...v3.6.1) (2026-03-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **conventions:** Make sure dir path is correct for eslint ([c722c63](https://github.com/Employes/Paperless/commit/c722c63ce5d46ca4e6fc6c1569c5b475ed96adc3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.6.0](https://github.com/Employes/Paperless/compare/v3.5.1...v3.6.0) (2026-03-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @paperless/conventions
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [3.5.1](https://github.com/Employes/Paperless/compare/v3.5.0...v3.5.1) (2026-03-17)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @paperless/conventions
|
package/eslint.config.js
CHANGED
|
@@ -2,7 +2,6 @@ import eslint from '@eslint/js';
|
|
|
2
2
|
import nxPlugin from '@nx/eslint-plugin';
|
|
3
3
|
import earlyReturnPlugin from '@regru/eslint-plugin-prefer-early-return';
|
|
4
4
|
import angularPlugin from 'angular-eslint';
|
|
5
|
-
import { defineConfig } from 'eslint/config';
|
|
6
5
|
import eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';
|
|
7
6
|
import importPlugin from 'eslint-plugin-import';
|
|
8
7
|
import jsoncPlugin from 'eslint-plugin-jsonc';
|
|
@@ -12,7 +11,7 @@ import unicornPlugin from 'eslint-plugin-unicorn';
|
|
|
12
11
|
import globals from 'globals';
|
|
13
12
|
import typescriptPlugin from 'typescript-eslint';
|
|
14
13
|
|
|
15
|
-
export
|
|
14
|
+
export const config = rootDir => [
|
|
16
15
|
eslint.configs.recommended,
|
|
17
16
|
prettierPlugin,
|
|
18
17
|
...jsoncPlugin.configs['flat/recommended-with-json'],
|
|
@@ -100,6 +99,10 @@ export default defineConfig([
|
|
|
100
99
|
files: ['**/*.{ts,tsx,cts,mts}'],
|
|
101
100
|
languageOptions: {
|
|
102
101
|
parser: typescriptPlugin.parser,
|
|
102
|
+
parserOptions: {
|
|
103
|
+
project: true,
|
|
104
|
+
tsconfigRootDir: rootDir,
|
|
105
|
+
},
|
|
103
106
|
},
|
|
104
107
|
},
|
|
105
108
|
{
|
|
@@ -130,6 +133,13 @@ export default defineConfig([
|
|
|
130
133
|
typescriptPlugin.configs.stylistic,
|
|
131
134
|
angularPlugin.configs.tsRecommended,
|
|
132
135
|
],
|
|
136
|
+
languageOptions: {
|
|
137
|
+
parser: typescriptPlugin.parser,
|
|
138
|
+
parserOptions: {
|
|
139
|
+
project: true,
|
|
140
|
+
tsconfigRootDir: rootDir,
|
|
141
|
+
},
|
|
142
|
+
},
|
|
133
143
|
processor: angularPlugin.processInlineTemplates,
|
|
134
144
|
rules: {
|
|
135
145
|
'@angular-eslint/prefer-inject': 'warn',
|
|
@@ -178,4 +188,4 @@ export default defineConfig([
|
|
|
178
188
|
],
|
|
179
189
|
},
|
|
180
190
|
},
|
|
181
|
-
]
|
|
191
|
+
];
|