From 531a17dd52b23a2fccf774ca017a001911458b65 Mon Sep 17 00:00:00 2001 From: Tenebrosful <hugobernard39@gmail.com> Date: Wed, 3 Nov 2021 23:51:31 +0100 Subject: [PATCH] Add lint script command --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 95b30c1..f83cf63 100644 --- a/package.json +++ b/package.json @@ -8,5 +8,9 @@ "repository": { "type": "git", "url": "https://gitlab.univ-lorraine.fr/hohler3u/atelier_1.git" + }, + "scripts": { + "csslint": "npx stylelint **/*.css --fix && npx stylelint **/*.scss --fix", + "phplint": "./vendor/bin/phplint" } } \ No newline at end of file -- GitLab