@paperless/conventions 3.1.1 → 3.2.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 +20 -0
- package/eslint.config.js +8 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.2.1](https://github.com/Employes/Paperless/compare/v3.2.0...v3.2.1) (2026-02-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @paperless/conventions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.2.0](https://github.com/Employes/Paperless/compare/v3.1.1...v3.2.0) (2026-02-23)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **conventions:** Update dependencies & fix angular eslint ([dfd030e](https://github.com/Employes/Paperless/commit/dfd030e719611c5b551d50b39aca6d2b070e76b8))
|
|
20
|
+
* **eslint:** Make linting work again ([d4bca6d](https://github.com/Employes/Paperless/commit/d4bca6ddf96235f5b802f1bb04f55992984504f8))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [3.1.1](https://github.com/Employes/Paperless/compare/v3.1.0...v3.1.1) (2026-02-19)
|
|
7
27
|
|
|
8
28
|
|
package/eslint.config.js
CHANGED
|
@@ -14,7 +14,7 @@ import typescriptPlugin from 'typescript-eslint';
|
|
|
14
14
|
|
|
15
15
|
export default defineConfig([
|
|
16
16
|
eslint.configs.recommended,
|
|
17
|
-
|
|
17
|
+
prettierPlugin,
|
|
18
18
|
...jsoncPlugin.configs['flat/recommended-with-json'],
|
|
19
19
|
...jsoncPlugin.configs['flat/recommended-with-jsonc'],
|
|
20
20
|
|
|
@@ -22,6 +22,7 @@ export default defineConfig([
|
|
|
22
22
|
nxPlugin.configs['flat/react-typescript'],
|
|
23
23
|
nxPlugin.configs['flat/angular'],
|
|
24
24
|
{
|
|
25
|
+
extends: [eslintPluginBetterTailwindcss.configs['recommended-error']],
|
|
25
26
|
languageOptions: {
|
|
26
27
|
globals: globals.builtin,
|
|
27
28
|
},
|
|
@@ -38,6 +39,9 @@ export default defineConfig([
|
|
|
38
39
|
tailwindConfig: 'tailwind.config.ts',
|
|
39
40
|
},
|
|
40
41
|
},
|
|
42
|
+
rules: {
|
|
43
|
+
'better-tailwindcss/no-unknown-classes': 'warn',
|
|
44
|
+
},
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
files: ['**/*.{ts,tsx,js,jsx}'],
|
|
@@ -130,7 +134,8 @@ export default defineConfig([
|
|
|
130
134
|
],
|
|
131
135
|
processor: angularPlugin.processInlineTemplates,
|
|
132
136
|
rules: {
|
|
133
|
-
'@angular-eslint/prefer-
|
|
137
|
+
'@angular-eslint/prefer-inject': 'warn',
|
|
138
|
+
'@angular-eslint/prefer-standalone': 'warn',
|
|
134
139
|
'@angular-eslint/directive-selector': [
|
|
135
140
|
'error',
|
|
136
141
|
{
|
|
@@ -153,6 +158,7 @@ export default defineConfig([
|
|
|
153
158
|
files: ['**/*.html'],
|
|
154
159
|
extends: [angularPlugin.configs.templateRecommended],
|
|
155
160
|
rules: {
|
|
161
|
+
'better-tailwindcss/enforce-consistent-line-wrapping': 'off',
|
|
156
162
|
'@angular-eslint/template/prefer-self-closing-tags': ['error'],
|
|
157
163
|
'@angular-eslint/template/attributes-order': [
|
|
158
164
|
'error',
|
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": "3.
|
|
4
|
+
"version": "3.2.1",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"publishConfig": {
|
|
@@ -28,27 +28,27 @@
|
|
|
28
28
|
"prettier:write": "yarn prettier:check -w"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@angular-eslint/builder": "~
|
|
32
|
-
"@eslint/js": "~9.39.
|
|
33
|
-
"@nx/eslint-plugin": "~22.
|
|
31
|
+
"@angular-eslint/builder": "~21.0.0",
|
|
32
|
+
"@eslint/js": "~9.39.3",
|
|
33
|
+
"@nx/eslint-plugin": "~22.5.0",
|
|
34
34
|
"@regru/eslint-plugin-prefer-early-return": "~1.0.0",
|
|
35
|
-
"angular-eslint": "~
|
|
35
|
+
"angular-eslint": "~21.0.0",
|
|
36
36
|
"eslint-config-prettier": "~10.1.8",
|
|
37
37
|
"eslint-import-resolver-typescript": "~4.4.4",
|
|
38
38
|
"eslint-plugin-better-tailwindcss": "~4.3.0",
|
|
39
39
|
"eslint-plugin-import": "~2.32.0",
|
|
40
40
|
"eslint-plugin-jsonc": "~2.21.0",
|
|
41
41
|
"eslint-plugin-jsx-a11y": "~6.10.2",
|
|
42
|
-
"eslint-plugin-prettier": "~5.5.
|
|
42
|
+
"eslint-plugin-prettier": "~5.5.5",
|
|
43
43
|
"eslint-plugin-react": "~7.37.5",
|
|
44
44
|
"eslint-plugin-react-hooks": "~7.0.1",
|
|
45
|
-
"eslint-plugin-unicorn": "~
|
|
46
|
-
"nx": "~22.
|
|
47
|
-
"typescript-eslint": "~8.
|
|
45
|
+
"eslint-plugin-unicorn": "~63.0.0",
|
|
46
|
+
"nx": "~22.5.0",
|
|
47
|
+
"typescript-eslint": "~8.56.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"eslint": "~9.39.
|
|
51
|
-
"prettier": "~3.
|
|
50
|
+
"eslint": "~9.39.3",
|
|
51
|
+
"prettier": "~3.8.1",
|
|
52
52
|
"typescript": "5.8.3"
|
|
53
53
|
}
|
|
54
54
|
}
|