@paperless/conventions 3.0.2 → 3.1.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/.prettierrc.cjs +0 -1
- package/CHANGELOG.md +22 -0
- package/eslint.config.js +22 -1
- package/package.json +2 -1
package/.prettierrc.cjs
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.1.1](https://github.com/Employes/Paperless/compare/v3.1.0...v3.1.1) (2026-02-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **conventions/eslint:** Temporarily disable prettier plugin ([59192d9](https://github.com/Employes/Paperless/commit/59192d92acdd512c5600124b3fa65874a19a2fc9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.1.0](https://github.com/Employes/Paperless/compare/v3.0.2...v3.1.0) (2026-02-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **conventions:** Add eslint-plugin-better-tailwindcss & remove prettier-tailwind ([cee9fcb](https://github.com/Employes/Paperless/commit/cee9fcbb11aa8c9de16b6c06f57af3b51eb19df2))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [3.0.2](https://github.com/Employes/Paperless/compare/v3.0.0...v3.0.2) (2026-02-12)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @paperless/conventions
|
package/eslint.config.js
CHANGED
|
@@ -3,6 +3,7 @@ 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
5
|
import { defineConfig } from 'eslint/config';
|
|
6
|
+
import eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';
|
|
6
7
|
import importPlugin from 'eslint-plugin-import';
|
|
7
8
|
import jsoncPlugin from 'eslint-plugin-jsonc';
|
|
8
9
|
import prettierPlugin from 'eslint-plugin-prettier/recommended';
|
|
@@ -13,7 +14,7 @@ import typescriptPlugin from 'typescript-eslint';
|
|
|
13
14
|
|
|
14
15
|
export default defineConfig([
|
|
15
16
|
eslint.configs.recommended,
|
|
16
|
-
|
|
17
|
+
eslintPluginBetterTailwindcss.configs['recommended-warn'],
|
|
17
18
|
...jsoncPlugin.configs['flat/recommended-with-json'],
|
|
18
19
|
...jsoncPlugin.configs['flat/recommended-with-jsonc'],
|
|
19
20
|
|
|
@@ -32,6 +33,10 @@ export default defineConfig([
|
|
|
32
33
|
typescript: true,
|
|
33
34
|
node: true,
|
|
34
35
|
},
|
|
36
|
+
'better-tailwindcss': {
|
|
37
|
+
//entryPoint: 'src/global.css',
|
|
38
|
+
tailwindConfig: 'tailwind.config.ts',
|
|
39
|
+
},
|
|
35
40
|
},
|
|
36
41
|
},
|
|
37
42
|
{
|
|
@@ -86,6 +91,15 @@ export default defineConfig([
|
|
|
86
91
|
],
|
|
87
92
|
},
|
|
88
93
|
},
|
|
94
|
+
{
|
|
95
|
+
files: ['**/*.{ts,tsx,cts,mts}'],
|
|
96
|
+
languageOptions: {
|
|
97
|
+
parser: typescriptPlugin.parser,
|
|
98
|
+
// parserOptions: {
|
|
99
|
+
// project: true,
|
|
100
|
+
// },
|
|
101
|
+
},
|
|
102
|
+
},
|
|
89
103
|
{
|
|
90
104
|
files: ['**/*.{tsx,jsx}'],
|
|
91
105
|
extends: [reactPlugin.configs.flat.recommended],
|
|
@@ -99,6 +113,13 @@ export default defineConfig([
|
|
|
99
113
|
},
|
|
100
114
|
],
|
|
101
115
|
},
|
|
116
|
+
languageOptions: {
|
|
117
|
+
parserOptions: {
|
|
118
|
+
ecmaFeatures: {
|
|
119
|
+
jsx: true,
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
102
123
|
},
|
|
103
124
|
{
|
|
104
125
|
files: ['**/*.ts'],
|
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.1.1",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"publishConfig": {
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"angular-eslint": "~19.0.0",
|
|
36
36
|
"eslint-config-prettier": "~10.1.8",
|
|
37
37
|
"eslint-import-resolver-typescript": "~4.4.4",
|
|
38
|
+
"eslint-plugin-better-tailwindcss": "~4.3.0",
|
|
38
39
|
"eslint-plugin-import": "~2.32.0",
|
|
39
40
|
"eslint-plugin-jsonc": "~2.21.0",
|
|
40
41
|
"eslint-plugin-jsx-a11y": "~6.10.2",
|