@paperless/conventions 3.1.0 → 3.2.0
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 +23 -0
- package/eslint.config.js +7 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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.0](https://github.com/Employes/Paperless/compare/v3.1.1...v3.2.0) (2026-02-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **conventions:** Update dependencies & fix angular eslint ([dfd030e](https://github.com/Employes/Paperless/commit/dfd030e719611c5b551d50b39aca6d2b070e76b8))
|
|
12
|
+
* **eslint:** Make linting work again ([d4bca6d](https://github.com/Employes/Paperless/commit/d4bca6ddf96235f5b802f1bb04f55992984504f8))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [3.1.1](https://github.com/Employes/Paperless/compare/v3.1.0...v3.1.1) (2026-02-19)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **conventions/eslint:** Temporarily disable prettier plugin ([59192d9](https://github.com/Employes/Paperless/commit/59192d92acdd512c5600124b3fa65874a19a2fc9))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
# [3.1.0](https://github.com/Employes/Paperless/compare/v3.0.2...v3.1.0) (2026-02-19)
|
|
7
30
|
|
|
8
31
|
|
package/eslint.config.js
CHANGED
|
@@ -15,7 +15,6 @@ import typescriptPlugin from 'typescript-eslint';
|
|
|
15
15
|
export default defineConfig([
|
|
16
16
|
eslint.configs.recommended,
|
|
17
17
|
prettierPlugin,
|
|
18
|
-
eslintPluginBetterTailwindcss.configs['recommended-warn'],
|
|
19
18
|
...jsoncPlugin.configs['flat/recommended-with-json'],
|
|
20
19
|
...jsoncPlugin.configs['flat/recommended-with-jsonc'],
|
|
21
20
|
|
|
@@ -23,6 +22,7 @@ export default defineConfig([
|
|
|
23
22
|
nxPlugin.configs['flat/react-typescript'],
|
|
24
23
|
nxPlugin.configs['flat/angular'],
|
|
25
24
|
{
|
|
25
|
+
extends: [eslintPluginBetterTailwindcss.configs['recommended-error']],
|
|
26
26
|
languageOptions: {
|
|
27
27
|
globals: globals.builtin,
|
|
28
28
|
},
|
|
@@ -39,6 +39,9 @@ export default defineConfig([
|
|
|
39
39
|
tailwindConfig: 'tailwind.config.ts',
|
|
40
40
|
},
|
|
41
41
|
},
|
|
42
|
+
rules: {
|
|
43
|
+
'better-tailwindcss/no-unknown-classes': 'warn',
|
|
44
|
+
},
|
|
42
45
|
},
|
|
43
46
|
{
|
|
44
47
|
files: ['**/*.{ts,tsx,js,jsx}'],
|
|
@@ -131,7 +134,8 @@ export default defineConfig([
|
|
|
131
134
|
],
|
|
132
135
|
processor: angularPlugin.processInlineTemplates,
|
|
133
136
|
rules: {
|
|
134
|
-
'@angular-eslint/prefer-
|
|
137
|
+
'@angular-eslint/prefer-inject': 'warn',
|
|
138
|
+
'@angular-eslint/prefer-standalone': 'warn',
|
|
135
139
|
'@angular-eslint/directive-selector': [
|
|
136
140
|
'error',
|
|
137
141
|
{
|
|
@@ -154,6 +158,7 @@ export default defineConfig([
|
|
|
154
158
|
files: ['**/*.html'],
|
|
155
159
|
extends: [angularPlugin.configs.templateRecommended],
|
|
156
160
|
rules: {
|
|
161
|
+
'better-tailwindcss/enforce-consistent-line-wrapping': 'off',
|
|
157
162
|
'@angular-eslint/template/prefer-self-closing-tags': ['error'],
|
|
158
163
|
'@angular-eslint/template/attributes-order': [
|
|
159
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.0",
|
|
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
|
}
|