@duonghieu0712z/create-tauri-vue-template 0.0.9 → 0.0.10
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/package.json
CHANGED
|
@@ -56,6 +56,7 @@ jobs:
|
|
|
56
56
|
- name: Setup Rust
|
|
57
57
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
58
58
|
with:
|
|
59
|
+
toolchain: nightly
|
|
59
60
|
components: rustfmt, clippy
|
|
60
61
|
|
|
61
62
|
- name: Rust cache
|
|
@@ -64,7 +65,7 @@ jobs:
|
|
|
64
65
|
workspaces: './src-tauri -> target'
|
|
65
66
|
|
|
66
67
|
- name: Check formatting
|
|
67
|
-
run: cargo fmt --manifest-path src-tauri/Cargo.toml -- --check
|
|
68
|
+
run: cargo +nightly fmt --manifest-path src-tauri/Cargo.toml -- --check
|
|
68
69
|
|
|
69
70
|
- name: Check lint
|
|
70
|
-
run: cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features -- -D warnings
|
|
71
|
+
run: cargo +nightly clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features -- -D warnings
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
'*.{js,ts,tsx,vue,html,css,json,yml,yaml}': ['oxfmt'],
|
|
3
3
|
'*.{js,ts,tsx,vue}': ['oxlint --fix', 'eslint --fix'],
|
|
4
4
|
'*.rs': () => [
|
|
5
|
-
'cargo fmt --manifest-path src-tauri/Cargo.toml',
|
|
6
|
-
'cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings',
|
|
5
|
+
'cargo +nightly fmt --manifest-path src-tauri/Cargo.toml',
|
|
6
|
+
'cargo +nightly clippy --manifest-path src-tauri/Cargo.toml -- -D warnings',
|
|
7
7
|
],
|
|
8
8
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
edition = "2024"
|
|
2
|
+
style_edition = "2024"
|
|
3
|
+
|
|
4
|
+
max_width = 100
|
|
5
|
+
tab_spaces = 4
|
|
6
|
+
newline_style = "Unix"
|
|
7
|
+
|
|
8
|
+
format_macro_bodies = true
|
|
9
|
+
format_macro_matchers = true
|
|
10
|
+
overflow_delimited_expr = true
|
|
11
|
+
use_field_init_shorthand = true
|
|
12
|
+
|
|
13
|
+
imports_granularity = "Crate"
|
|
14
|
+
group_imports = "StdExternalCrate"
|
|
15
|
+
reorder_imports = true
|
|
16
|
+
reorder_modules = true
|
|
17
|
+
reorder_impl_items = true
|