summaryrefslogtreecommitdiff
path: root/checks/editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'checks/editorconfig')
-rw-r--r--checks/editorconfig/package.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/editorconfig/package.nix b/checks/editorconfig/package.nix
new file mode 100644
index 0000000..97b2a31
--- /dev/null
+++ b/checks/editorconfig/package.nix
@@ -0,0 +1,11 @@
+{
+ lib,
+ runCommand,
+ root,
+ editorconfig-checker,
+}:
+runCommand "check-editorconfig" {} ''
+ cd ${root}
+ ${lib.getExe editorconfig-checker} -exclude '.git' .
+ touch $out
+''