@paperless/conventions 2.22.0-alpha.11 → 2.22.0-alpha.13
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 +16 -0
- package/package.json +7 -20
- package/.eslintrc.js +0 -110
- package/commitlint.config.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.13](https://github.com/Employes/Paperless/compare/v2.22.0-alpha.12...v2.22.0-alpha.13) (2026-01-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @paperless/conventions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.22.0-alpha.12](https://github.com/Employes/Paperless/compare/v2.22.0-alpha.11...v2.22.0-alpha.12) (2026-01-14)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @paperless/conventions
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [2.22.0-alpha.11](https://github.com/Employes/Paperless/compare/v2.22.0-alpha.10...v2.22.0-alpha.11) (2026-01-13)
|
|
7
23
|
|
|
8
24
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paperless/conventions",
|
|
3
3
|
"description": "Paperless eslint, typescript & prettier recommended configuration",
|
|
4
|
-
"version": "2.22.0-alpha.
|
|
4
|
+
"version": "2.22.0-alpha.13",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org"
|
|
8
8
|
},
|
|
9
|
+
"exports": {
|
|
10
|
+
"prettier": "./.prettierrc.js",
|
|
11
|
+
"eslint": "./.eslintrc.js",
|
|
12
|
+
"editorconfig": "./.editorconfig",
|
|
13
|
+
"tsconfig": "./tsconfig.json"
|
|
14
|
+
},
|
|
9
15
|
"repository": {
|
|
10
16
|
"type": "git",
|
|
11
17
|
"url": "git+https://github.com/Employes/Paperless.git"
|
|
@@ -19,26 +25,7 @@
|
|
|
19
25
|
"prettier:check": "yarn prettier \"./**/*.{ts,tsx,html,scss,json}\"",
|
|
20
26
|
"prettier:write": "yarn prettier:check -w"
|
|
21
27
|
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@angular-eslint/builder": "~19.0.0",
|
|
24
|
-
"@angular-eslint/eslint-plugin": "~19.0.0",
|
|
25
|
-
"@angular-eslint/eslint-plugin-template": "~19.0.0",
|
|
26
|
-
"@angular-eslint/schematics": "~19.0.0",
|
|
27
|
-
"@angular-eslint/template-parser": "~19.0.0",
|
|
28
|
-
"@nrwl/eslint-plugin-nx": "15.9.7",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "8.39.1",
|
|
30
|
-
"@typescript-eslint/parser": "8.39.1",
|
|
31
|
-
"eslint-config-prettier": "9.1.0",
|
|
32
|
-
"eslint-import-resolver-typescript": "3.1.5",
|
|
33
|
-
"eslint-plugin-ava": "14.0.0",
|
|
34
|
-
"eslint-plugin-import": "2.29.1",
|
|
35
|
-
"eslint-plugin-jsonc": "2.16.0",
|
|
36
|
-
"eslint-plugin-only-error": "1.0.2",
|
|
37
|
-
"eslint-plugin-unicorn": "55.0.0",
|
|
38
|
-
"nx": "15.9.7"
|
|
39
|
-
},
|
|
40
28
|
"peerDependencies": {
|
|
41
|
-
"eslint": "~8.57.0",
|
|
42
29
|
"prettier": "2.8.8",
|
|
43
30
|
"typescript": "5.1.6"
|
|
44
31
|
}
|
package/.eslintrc.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
ignorePatterns: ['**/*'],
|
|
4
|
-
plugins: ['@nrwl/nx', 'only-error', 'import', 'unicorn', 'ava'],
|
|
5
|
-
settings: {
|
|
6
|
-
'import/parsers': {
|
|
7
|
-
'@typescript-eslint/parser': ['.ts', '.tsx'],
|
|
8
|
-
},
|
|
9
|
-
'import/resolver': {
|
|
10
|
-
typescript: {
|
|
11
|
-
alwaysTryTypes: true,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
overrides: [
|
|
16
|
-
{
|
|
17
|
-
files: ['*.ts', '*.tsx', '*.js', '*.jsx'],
|
|
18
|
-
rules: {
|
|
19
|
-
'arrow-body-style': ['error', 'as-needed'],
|
|
20
|
-
'import/order': [
|
|
21
|
-
'error',
|
|
22
|
-
{
|
|
23
|
-
pathGroups: [
|
|
24
|
-
{
|
|
25
|
-
pattern: '@paperless/**',
|
|
26
|
-
group: 'external',
|
|
27
|
-
position: 'after',
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
pathGroupsExcludedImportTypes: ['builtin'],
|
|
31
|
-
groups: ['builtin', 'external', 'parent', 'sibling', 'index'],
|
|
32
|
-
'newlines-between': 'always',
|
|
33
|
-
alphabetize: {
|
|
34
|
-
order: 'asc',
|
|
35
|
-
caseInsensitive: true,
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
extends: [
|
|
41
|
-
'plugin:@angular-eslint/all',
|
|
42
|
-
'plugin:@nrwl/nx/angular',
|
|
43
|
-
'plugin:@angular-eslint/template/process-inline-templates',
|
|
44
|
-
'prettier',
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
files: ['*.html'],
|
|
49
|
-
plugins: ['@angular-eslint/template'],
|
|
50
|
-
extends: [
|
|
51
|
-
'plugin:@nrwl/nx/angular-template',
|
|
52
|
-
'plugin:@angular-eslint/all',
|
|
53
|
-
],
|
|
54
|
-
rules: {
|
|
55
|
-
'@angular-eslint/template/attributes-order': [
|
|
56
|
-
'error',
|
|
57
|
-
{
|
|
58
|
-
alphabetical: true,
|
|
59
|
-
order: [
|
|
60
|
-
'STRUCTURAL_DIRECTIVE',
|
|
61
|
-
'TEMPLATE_REFERENCE',
|
|
62
|
-
'ATTRIBUTE_BINDING',
|
|
63
|
-
'INPUT_BINDING',
|
|
64
|
-
'OUTPUT_BINDING',
|
|
65
|
-
'TWO_WAY_BINDING',
|
|
66
|
-
],
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
files: ['*.ts', '*.tsx'],
|
|
73
|
-
extends: [
|
|
74
|
-
'plugin:@nrwl/nx/typescript',
|
|
75
|
-
'plugin:unicorn/all',
|
|
76
|
-
'plugin:import/recommended',
|
|
77
|
-
],
|
|
78
|
-
rules: {
|
|
79
|
-
'unicorn/no-null': 'off',
|
|
80
|
-
'import/no-unresolved': 'off',
|
|
81
|
-
'unicorn/prevent-abbreviations': 'off',
|
|
82
|
-
'unicorn/no-nested-ternary': 'off',
|
|
83
|
-
'unicorn/consistent-function-scoping': [
|
|
84
|
-
'error',
|
|
85
|
-
{
|
|
86
|
-
checkArrowFunctions: false,
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
files: ['*.js', '*.jsx'],
|
|
93
|
-
extends: ['plugin:@nrwl/nx/javascript'],
|
|
94
|
-
rules: {},
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
files: ['*.spec.ts', '*.spec.tsx', '*.spec.js', '*.spec.jsx'],
|
|
98
|
-
extends: ['plugin:ava/recommended'],
|
|
99
|
-
env: {
|
|
100
|
-
jest: true,
|
|
101
|
-
},
|
|
102
|
-
rules: {},
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
files: ['*.json', '*.json5'],
|
|
106
|
-
extends: ['plugin:jsonc/recommended-with-jsonc'],
|
|
107
|
-
rules: {},
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
};
|
package/commitlint.config.js
DELETED