aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dev
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-23 15:50:23 +0200
committerGitHub <noreply@github.com>2020-09-23 15:50:23 +0200
commitcdb96276c1f4a1b3484ac4a1729fa5c9cdff38a5 (patch)
treecdc10640a45daab543c25debe4a193cb3d98c8c4 /.dev
parent5baafe5001ef2fbe88d3fcdcc225ec12edd3fef1 (diff)
parent9192a48be300fcfd2a6ede927b0611c66f250012 (diff)
downloadShaarli-cdb96276c1f4a1b3484ac4a1729fa5c9cdff38a5.tar.gz
Shaarli-cdb96276c1f4a1b3484ac4a1729fa5c9cdff38a5.tar.zst
Shaarli-cdb96276c1f4a1b3484ac4a1729fa5c9cdff38a5.zip
Merge pull request #1561 from ArthurHoaro/feature/front-deps-upgrade
Diffstat (limited to '.dev')
-rw-r--r--.dev/.sasslintrc17
-rw-r--r--.dev/.stylelintrc.js15
2 files changed, 15 insertions, 17 deletions
diff --git a/.dev/.sasslintrc b/.dev/.sasslintrc
deleted file mode 100644
index 47c3145d..00000000
--- a/.dev/.sasslintrc
+++ /dev/null
@@ -1,17 +0,0 @@
1options:
2 max-warnings: 0
3rules:
4 property-sort-order:
5 - 0
6# Sort order rule does not work with CSS variables: https://github.com/sasstools/sass-lint/issues/1161
7# - 1
8# -
9# order: 'concentric'
10 no-important:
11 - 0
12 no-vendor-prefixes:
13 - 0 # this will be fixed with v2: see https://github.com/sasstools/sass-lint/pull/1137
14 nesting-depth:
15 - 1
16 -
17 max-depth: 4
diff --git a/.dev/.stylelintrc.js b/.dev/.stylelintrc.js
new file mode 100644
index 00000000..a754e33b
--- /dev/null
+++ b/.dev/.stylelintrc.js
@@ -0,0 +1,15 @@
1module.exports = {
2 extends: 'stylelint-config-standard',
3 plugins: [
4 "stylelint-scss"
5 ],
6 rules: {
7 "indentation": [2],
8 "number-leading-zero": null,
9 // Replace CSS @ with SASS ones
10 "at-rule-no-unknown": null,
11 "scss/at-rule-no-unknown": true,
12 // not compatible with SASS apparently
13 "no-descending-specificity": null
14 },
15}