From 51ef13f5d6c311db3572e59676dcfb2e9266c43b Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 6 Oct 2022 23:41:17 +0200 Subject: [PATCH] Add Stylelint configuration. --- .gitignore | 4 ++++ package.json | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 package.json diff --git a/.gitignore b/.gitignore index fc7b209..77ff27c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,7 @@ coverage/ # Environment configuration .env + +# NodeJS files +node_modules/ +pnpm-lock.yaml diff --git a/package.json b/package.json new file mode 100644 index 0000000..70ee27d --- /dev/null +++ b/package.json @@ -0,0 +1,21 @@ +{ + "private": "true", + "scripts": { + "test": "stylelint 'source/**/*.scss'" + }, + "dependencies": { + "modern-normalize": "^1.1.0" + }, + "devDependencies": { + "stylelint": "^14.12.1", + "stylelint-config-standard-scss": "^5.0.0" + }, + "stylelint": { + "extends": [ + "stylelint-config-standard-scss" + ], + "rules": { + "string-quotes": "single" + } + } +}