@paperless/conventions 2.22.0-alpha.32 → 2.22.0-alpha.33
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 +11 -0
- package/eslint.config.js +15 -0
- package/package.json +1 -1
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.33](https://github.com/Employes/Paperless/compare/v2.22.0-alpha.32...v2.22.0-alpha.33) (2026-01-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **eslint:** Improve configuration for tsx & jsx files ([d865fc6](https://github.com/Employes/Paperless/commit/d865fc6912f008074f36990d857c034c482b0cef))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.22.0-alpha.32](https://github.com/Employes/Paperless/compare/v2.22.0-alpha.31...v2.22.0-alpha.32) (2026-01-19)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @paperless/conventions
|
package/eslint.config.js
CHANGED
|
@@ -5,6 +5,7 @@ import { defineConfig } from 'eslint/config';
|
|
|
5
5
|
import importPlugin from 'eslint-plugin-import';
|
|
6
6
|
import jsoncPlugin from 'eslint-plugin-jsonc';
|
|
7
7
|
import prettierPlugin from 'eslint-plugin-prettier/recommended';
|
|
8
|
+
import reactPlugin from 'eslint-plugin-react';
|
|
8
9
|
import unicornPlugin from 'eslint-plugin-unicorn';
|
|
9
10
|
import globals from 'globals';
|
|
10
11
|
import typescriptPlugin from 'typescript-eslint';
|
|
@@ -76,6 +77,20 @@ export default defineConfig([
|
|
|
76
77
|
],
|
|
77
78
|
},
|
|
78
79
|
},
|
|
80
|
+
{
|
|
81
|
+
files: ['**/*.{tsx,jsx}'],
|
|
82
|
+
extends: [reactPlugin.configs.flat.recommended],
|
|
83
|
+
rules: {
|
|
84
|
+
'react/react-in-jsx-scope': 'off',
|
|
85
|
+
'react/jsx-sort-props': [
|
|
86
|
+
'error',
|
|
87
|
+
{
|
|
88
|
+
callbacksLast: true,
|
|
89
|
+
shorthandLast: true,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
},
|
|
79
94
|
{
|
|
80
95
|
files: ['**/*.ts'],
|
|
81
96
|
extends: [
|
package/package.json
CHANGED