aboutsummaryrefslogtreecommitdiffhomepage
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-05-10 13:29:47 +0200
committerArthurHoaro <arthur@hoa.ro>2018-05-10 13:29:47 +0200
commit03b483aa45ca994c0d75010e2008a8f0bfcf7ed3 (patch)
treec4ab060db6f6991025d743cf8084c28b8bfafd31 /.eslintrc.js
parent9d0fc862507e1933e447b3c3e92a438400aad263 (diff)
downloadShaarli-03b483aa45ca994c0d75010e2008a8f0bfcf7ed3.tar.gz
Shaarli-03b483aa45ca994c0d75010e2008a8f0bfcf7ed3.tar.zst
Shaarli-03b483aa45ca994c0d75010e2008a8f0bfcf7ed3.zip
Add SASSLint makefile target, and run it in CI
Also move ESLint and SASSLint config files to a dedicated .dev folder
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
deleted file mode 100644
index 151b785b..00000000
--- a/.eslintrc.js
+++ /dev/null
@@ -1,12 +0,0 @@
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};