@regardio/dev 1.21.0 → 1.23.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/README.md +10 -10
- package/package.json +11 -17
- package/src/sqlfluff/setup.cfg +93 -0
package/README.md
CHANGED
|
@@ -52,16 +52,16 @@ Detailed documentation is organized by topic:
|
|
|
52
52
|
### Concepts
|
|
53
53
|
|
|
54
54
|
- [AI Agents](./docs/en/agents.md) - Instructions for AI coding assistants
|
|
55
|
-
- [API](./docs/en/
|
|
56
|
-
- [Coding](./docs/en/
|
|
57
|
-
- [Commits](./docs/en/
|
|
58
|
-
- [Documentation](./docs/en/
|
|
59
|
-
- [Naming](./docs/en/
|
|
60
|
-
- [Principles](./docs/en/
|
|
61
|
-
- [React](./docs/en/
|
|
62
|
-
- [SQL](./docs/en/
|
|
63
|
-
- [Testing](./docs/en/
|
|
64
|
-
- [Writing](./docs/en/
|
|
55
|
+
- [API](./docs/en/standards/api.md) - API design and implementation guidelines
|
|
56
|
+
- [Coding](./docs/en/standards/coding.md) - TypeScript, React, and general patterns
|
|
57
|
+
- [Commits](./docs/en/standards/commits.md) - Conventional commits and changelog generation
|
|
58
|
+
- [Documentation](./docs/en/standards/documentation.md) - Documentation structure and conventions
|
|
59
|
+
- [Naming](./docs/en/standards/naming.md) - Consistent naming across languages
|
|
60
|
+
- [Principles](./docs/en/standards/principles.md) - Code quality, architecture, maintainability
|
|
61
|
+
- [React](./docs/en/standards/react.md) - React and TypeScript development patterns
|
|
62
|
+
- [SQL](./docs/en/standards/sql.md) - PostgreSQL schema styling, structure, and access control
|
|
63
|
+
- [Testing](./docs/en/standards/testing.md) - Testing philosophy and patterns
|
|
64
|
+
- [Writing](./docs/en/standards/writing.md) - Voice, tone, and language for content
|
|
65
65
|
|
|
66
66
|
### Toolchain
|
|
67
67
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package.json",
|
|
3
3
|
"name": "@regardio/dev",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.23.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Regardio developer tooling for testing, linting, and build workflows",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"biome",
|
|
9
9
|
"commitlint",
|
|
10
10
|
"dev",
|
|
11
|
+
"documentation",
|
|
11
12
|
"husky",
|
|
12
13
|
"linting",
|
|
13
14
|
"markdownlint",
|
|
14
15
|
"playwright",
|
|
16
|
+
"sqlfluff",
|
|
15
17
|
"testing",
|
|
16
18
|
"tooling",
|
|
17
19
|
"typescript",
|
|
@@ -93,40 +95,32 @@
|
|
|
93
95
|
"typecheck": "tsc --noEmit"
|
|
94
96
|
},
|
|
95
97
|
"dependencies": {
|
|
96
|
-
"@biomejs/biome": "2.4.
|
|
98
|
+
"@biomejs/biome": "2.4.12",
|
|
97
99
|
"@commitlint/cli": "20.5.0",
|
|
98
100
|
"@commitlint/config-conventional": "20.5.0",
|
|
99
101
|
"@playwright/test": "1.59.1",
|
|
100
102
|
"@testing-library/jest-dom": "6.9.1",
|
|
101
103
|
"@testing-library/react": "16.3.2",
|
|
102
104
|
"@total-typescript/ts-reset": "0.6.1",
|
|
103
|
-
"@types/node": "25.
|
|
104
|
-
"@vitest/coverage-v8": "4.1.
|
|
105
|
-
"@vitest/ui": "4.1.
|
|
105
|
+
"@types/node": "25.6.0",
|
|
106
|
+
"@vitest/coverage-v8": "4.1.4",
|
|
107
|
+
"@vitest/ui": "4.1.4",
|
|
106
108
|
"husky": "9.1.7",
|
|
107
109
|
"jsdom": "29.0.2",
|
|
108
110
|
"markdownlint-cli2": "0.22.0",
|
|
109
111
|
"npm-run-all": "4.1.5",
|
|
110
|
-
"postcss": "8.5.
|
|
112
|
+
"postcss": "8.5.10",
|
|
111
113
|
"rimraf": "6.1.3",
|
|
112
114
|
"rollup": "4.60.1",
|
|
113
115
|
"sort-package-json": "3.6.1",
|
|
114
116
|
"typescript": "6.0.2",
|
|
115
|
-
"vite": "8.0.
|
|
116
|
-
"vitest": "4.1.
|
|
117
|
+
"vite": "8.0.8",
|
|
118
|
+
"vitest": "4.1.4"
|
|
117
119
|
},
|
|
118
120
|
"devDependencies": {
|
|
119
121
|
"tsx": "4.21.0"
|
|
120
122
|
},
|
|
121
|
-
"peerDependencies": {
|
|
122
|
-
"postcss": "^8.4.0"
|
|
123
|
-
},
|
|
124
|
-
"peerDependenciesMeta": {
|
|
125
|
-
"postcss": {
|
|
126
|
-
"optional": true
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
123
|
"engines": {
|
|
130
|
-
"node": ">=
|
|
124
|
+
"node": ">=24"
|
|
131
125
|
}
|
|
132
126
|
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
[sqlfluff]
|
|
2
|
+
dialect = postgres
|
|
3
|
+
exclude_rules = ambiguous.column_count, structure.column_order
|
|
4
|
+
max_line_length = 100
|
|
5
|
+
processes = -1
|
|
6
|
+
sql_file_exts = .sql
|
|
7
|
+
large_file_skip_byte_limit = 65535
|
|
8
|
+
|
|
9
|
+
[sqlfluff:indentation]
|
|
10
|
+
implicit_indents = allow
|
|
11
|
+
indent_unit = space
|
|
12
|
+
indented_ctes = True
|
|
13
|
+
indented_joins = True
|
|
14
|
+
indented_on_contents = True
|
|
15
|
+
indented_then = True
|
|
16
|
+
indented_then_contents = True
|
|
17
|
+
indented_using_on = True
|
|
18
|
+
tab_space_size = 2
|
|
19
|
+
template_blocks_indent = True
|
|
20
|
+
trailing_comments = before
|
|
21
|
+
|
|
22
|
+
[sqlfluff:layout:type:binary_operator]
|
|
23
|
+
line_position = leading
|
|
24
|
+
|
|
25
|
+
[sqlfluff:layout:type:comma]
|
|
26
|
+
spacing_before = touch
|
|
27
|
+
line_position = trailing
|
|
28
|
+
|
|
29
|
+
[sqlfluff:rules:aliasing.table]
|
|
30
|
+
aliasing = explicit
|
|
31
|
+
|
|
32
|
+
[sqlfluff:rules:aliasing.column]
|
|
33
|
+
aliasing = explicit
|
|
34
|
+
|
|
35
|
+
[sqlfluff:rules:aliasing.length]
|
|
36
|
+
min_alias_length = 2
|
|
37
|
+
max_alias_length = 30
|
|
38
|
+
|
|
39
|
+
[sqlfluff:rules:aliasing.forbid]
|
|
40
|
+
force_enable = False
|
|
41
|
+
|
|
42
|
+
[sqlfluff:rules:capitalisation.keywords]
|
|
43
|
+
capitalisation_policy = lower
|
|
44
|
+
|
|
45
|
+
[sqlfluff:rules:capitalisation.identifiers]
|
|
46
|
+
extended_capitalisation_policy = lower
|
|
47
|
+
|
|
48
|
+
[sqlfluff:rules:capitalisation.functions]
|
|
49
|
+
extended_capitalisation_policy = lower
|
|
50
|
+
|
|
51
|
+
[sqlfluff:rules:capitalisation.literals]
|
|
52
|
+
capitalisation_policy = lower
|
|
53
|
+
|
|
54
|
+
[sqlfluff:rules:capitalisation.types]
|
|
55
|
+
extended_capitalisation_policy = lower
|
|
56
|
+
|
|
57
|
+
[sqlfluff:rules:ambiguous.column_references]
|
|
58
|
+
group_by_and_order_by_style = consistent
|
|
59
|
+
|
|
60
|
+
[sqlfluff:rules:references.from]
|
|
61
|
+
force_enable = True
|
|
62
|
+
|
|
63
|
+
[sqlfluff:rules:references.qualification]
|
|
64
|
+
single_table_references = consistent
|
|
65
|
+
|
|
66
|
+
[sqlfluff:rules:references.keywords]
|
|
67
|
+
ignore_words =
|
|
68
|
+
|
|
69
|
+
[sqlfluff:rules:convention.not_equal]
|
|
70
|
+
preferred_not_equal_style = c_style
|
|
71
|
+
|
|
72
|
+
[sqlfluff:rules:convention.casting_style]
|
|
73
|
+
preferred_type_casting_style = shorthand
|
|
74
|
+
|
|
75
|
+
[sqlfluff:rules:convention.terminator]
|
|
76
|
+
multiline_newline = False
|
|
77
|
+
require_final_semicolon = True
|
|
78
|
+
|
|
79
|
+
[sqlfluff:rules:convention.quoted_literals]
|
|
80
|
+
preferred_quoted_literal_style = single_quotes
|
|
81
|
+
|
|
82
|
+
[sqlfluff:rules:layout.long_lines]
|
|
83
|
+
ignore_comment_lines = True
|
|
84
|
+
ignore_comment_clauses = True
|
|
85
|
+
|
|
86
|
+
[sqlfluff:rules:layout.select_targets]
|
|
87
|
+
wildcard_policy = single
|
|
88
|
+
|
|
89
|
+
[sqlfluff:rules:references.quoting]
|
|
90
|
+
preferred_quoted_identifiers = necessary
|
|
91
|
+
|
|
92
|
+
[sqlfluff:rules:structure.subquery]
|
|
93
|
+
forbid_subquery_in = join
|