aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dev/.eslintrc.js
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-05-29 20:20:02 +0200
committerGitHub <noreply@github.com>2018-05-29 20:20:02 +0200
commit8f816d8ddfe9219e15580cef6e5c9037d1d4fd28 (patch)
tree959b5982d522c3b489353dd2300b85f2d1638720 /.dev/.eslintrc.js
parentcdebf7f9b408f4034b03644a91461f3454c6c039 (diff)
parent03b483aa45ca994c0d75010e2008a8f0bfcf7ed3 (diff)
downloadShaarli-8f816d8ddfe9219e15580cef6e5c9037d1d4fd28.tar.gz
Shaarli-8f816d8ddfe9219e15580cef6e5c9037d1d4fd28.tar.zst
Shaarli-8f816d8ddfe9219e15580cef6e5c9037d1d4fd28.zip
Merge pull request #1135 from ArthurHoaro/ci/csslint
Reformat SCSS to SASS format and run SASSLint in CI
Diffstat (limited to '.dev/.eslintrc.js')
-rw-r--r--.dev/.eslintrc.js12
1 files changed, 12 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};