diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:19:53 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:19:53 +0200 |
commit | 7982c3ff183aa985177bdaeacda4feb22a739e00 (patch) | |
tree | 728e07251072f3a1df63c017c0dce54fa1acb390 /.dev | |
parent | 2075321f6569dfa610905991b315aae1956b7f78 (diff) | |
parent | ed7e1be12d65bdb1b924c7efb6a84fd591192c6c (diff) | |
download | Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.gz Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.zst Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.zip |
Merge tag 'v0.10.0' into latest
Release v0.10.0
Diffstat (limited to '.dev')
-rw-r--r-- | .dev/.eslintrc.js | 12 | ||||
-rw-r--r-- | .dev/.sasslintrc | 15 |
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 @@ | |||
1 | module.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 @@ | |||
1 | options: | ||
2 | max-warnings: 0 | ||
3 | rules: | ||
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 | ||