Changes
2 changed files (+58/-9)
-
dprint.jsonc (new)
-
@@ -0,0 +1,56 @@// Copyright 2023 Shota FUJI <pockawoooh@gmail.com> // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH // REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY // AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, // INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM // LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR // OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. // // SPDX-License-Identifier: 0BSD { "excludes": [], "plugins": [ "https://plugins.dprint.dev/json-0.20.0.wasm", "https://plugins.dprint.dev/markdown-0.19.0.wasm", "https://plugins.dprint.dev/toml-0.7.0.wasm", "https://plugins.dprint.dev/g-plane/malva-v0.12.1.wasm", "https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf", ], "lineWidth": 90, "indentWidth": 2, "newLineKind": "lf", "useTabs": true, "json": {}, "markdown": {}, "toml": {}, "malva": {}, "exec": { "cwd": "${configDir}", "commands": [ { "exts": ["zig"], "command": "zig fmt --stdin", }, { "exts": ["zon"], "command": "zig fmt --zon --stdin", }, { "exts": ["nix"], "command": "nixfmt --strict --width={{line_width}} --indent={{indent_width}}", }, { "exts": ["go"], "command": "gofmt", }, ] } }
-
-
-
@@ -208,15 +208,6 @@ };}; }; formatter = builtins.listToAttrs ( builtins.map (system: { name = system; value = nixpkgs.legacyPackages.${system}.nixpkgs-fmt; }) availableSystems ); devShell = builtins.listToAttrs ( builtins.map (system:
-
@@ -233,6 +224,8 @@ tzdataglib zig go dprint nixfmt-rfc-style ]; }; }
-