aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dev
diff options
context:
space:
mode:
authorMark Schmitz <kramred@gmail.com>2018-06-07 14:23:53 +0100
committerMark Schmitz <kramred@gmail.com>2018-06-07 14:23:53 +0100
commit0deaedeeaef088040fb015f5be3e270e3bae508e (patch)
treebbdab87adf45592a6a881f808e667ba5c21312a9 /.dev
parentf6b3295d28352cbeb46dff04799cf8f4d39087bb (diff)
parent17e45b2e9c33c736751e059276fadb480f98e621 (diff)
downloadShaarli-0deaedeeaef088040fb015f5be3e270e3bae508e.tar.gz
Shaarli-0deaedeeaef088040fb015f5be3e270e3bae508e.tar.zst
Shaarli-0deaedeeaef088040fb015f5be3e270e3bae508e.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to '.dev')
-rw-r--r--.dev/.eslintrc.js12
-rw-r--r--.dev/.sasslintrc15
2 files changed, 27 insertions, 0 deletions
diff --git a/.dev/.eslintrc.js b/.dev/.eslintrc.js
new file mode 100644
index 00000000..151b785b
--- /dev/null
+++ b/.dev/.eslintrc.js
@@ -0,0 +1,12 @@
1module.exports = {
2 "extends": "airbnb-base",
3 "env": {
4 "browser": true,
5 },
6 "rules": {
7 "no-param-reassign": 0, // manipulate DOM style properties
8 "no-restricted-globals": 0, // currently Shaarli uses alert/confirm, could be be improved later
9 "no-alert": 0, // currently Shaarli uses alert/confirm, could be be improved later
10 "no-cond-assign": [2, "except-parens"], // assignment in while loops is readable and avoid assignment duplication
11 }
12};
diff --git a/.dev/.sasslintrc b/.dev/.sasslintrc
new file mode 100644
index 00000000..ac406d7b
--- /dev/null
+++ b/.dev/.sasslintrc
@@ -0,0 +1,15 @@
1options:
2 max-warnings: 0
3rules:
4 property-sort-order:
5 - 1
6 -
7 order: 'concentric'
8 no-important:
9 - 0
10 no-vendor-prefixes:
11 - 0 # this will be fixed with v2: see https://github.com/sasstools/sass-lint/pull/1137
12 nesting-depth:
13 - 1
14 -
15 max-depth: 4