Skip to content

Commit

Permalink
chore: editor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
woile committed Oct 6, 2024
1 parent 426dcb7 commit 73d30aa
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# http://editorconfig.org

root = true

[*]
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

# Use 2 spaces for the HTML files
[*.html]
indent_size = 2

# The JSON files contain newlines inconsistently
[*.json]
indent_size = 2
insert_final_newline = ignore

# Use 2 spaces for the JS and TS files
[*.{js, ts}]
indent_style = space
indent_size = 2

# Use 2 spaces for the YAML files
[*.{yml, yaml}]
indent_style = space
indent_size = 2

# Ignore vendor libraries
[**/static/**/vendor/**]
indent_style = ignore
indent_size = ignore

# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
2 changes: 1 addition & 1 deletion .github/workflows/bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
bump-version:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') }}
runs-on: ubuntu-latest
name: "Bump version and create changelog with commitizen"
steps:
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# devShells.default = config.nci.outputs."recipe-lang".devShell;
devShells.default = pkgs.mkShell {
inputsFrom = [ config.nci.outputs."recipe-lang".devShell ];
packages = [ pkgs.cargo-dist ];
packages = [ pkgs.cargo-dist pkgs.rustup ];
};
# export the release package of the crate as default package
packages.default = config.nci.outputs."recp".packages.release;
Expand Down

0 comments on commit 73d30aa

Please sign in to comment.