@storm-software/linting-tools 1.78.0 → 1.80.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.
@@ -0,0 +1,50 @@
1
+ ## https://taplo.tamasfe.dev/configuration/file.html
2
+
3
+ include = [
4
+ "*.toml",
5
+ "**/Cargo.toml",
6
+ "**/.config/**/*.toml",
7
+ "crates/**/*.toml",
8
+ "apps/**/*.toml",
9
+ ]
10
+
11
+ [formatting]
12
+ # Align consecutive entries vertically.
13
+ align_entries = true
14
+ # Append trailing commas for multi-line arrays.
15
+ array_trailing_comma = false
16
+ # Expand arrays to multiple lines that exceed the maximum column width.
17
+ array_auto_expand = true
18
+ # Collapse arrays that don't exceed the maximum column width and don't contain comments.
19
+ array_auto_collapse = false
20
+ # Omit white space padding from single-line arrays
21
+ compact_arrays = true
22
+ # Omit white space padding from the start and end of inline tables.
23
+ compact_inline_tables = false
24
+ # Maximum column width in characters, affects array expansion and collapse, this doesn't take whitespace into account.
25
+ # Note that this is not set in stone, and works on a best-effort basis.
26
+ column_width = 120
27
+ # Indent based on tables and arrays of tables and their subtables, subtables out of order are not indented.
28
+ indent_tables = false
29
+ # The substring that is used for indentation, should be tabs or spaces (but technically can be anything).
30
+ indent_string = ' '
31
+ # Add trailing newline at the end of the file if not present.
32
+ trailing_newline = true
33
+ # Alphabetically reorder keys that are not separated by empty lines.
34
+ reorder_keys = true
35
+ # Maximum amount of allowed consecutive blank lines. This does not affect the whitespace at the end of the document, as it is always stripped.
36
+ allowed_blank_lines = 1
37
+ # Use CRLF for line endings.
38
+ crlf = false
39
+ # Use tabs for indentation.
40
+ object_trailing_comma = false
41
+
42
+ [[rule]]
43
+ keys = [
44
+ "dependencies",
45
+ "dev-dependencies",
46
+ "build-dependencies",
47
+ "workspace.dependencies",
48
+ "patch.crates-io",
49
+ ]
50
+ formatting = { reorder_keys = true }
package/taplo/.taplo.toml DELETED
@@ -1,8 +0,0 @@
1
- include = [".taplo.toml", "Cargo.toml", "crates/*/*.toml"]
2
-
3
- [formatting]
4
- align_entries = true
5
- column_width = 120
6
- reorder_keys = true
7
- array_trailing_comma = false
8
- object_trailing_comma = false