aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dev/.eslintrc.js
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-07-27 12:34:30 +0200
committerArthurHoaro <arthur@hoa.ro>2019-07-27 12:34:30 +0200
commit38672ba0d1c722e5d6d33a58255ceb55e9410e46 (patch)
treedae4c7c47532380eac3ae641db99122fc77c93dc /.dev/.eslintrc.js
parent83faedadff76c5bdca036f39f13943f63b27e164 (diff)
parent1e77e0448bbd25675d8c0fe4a73206ad9048904b (diff)
downloadShaarli-38672ba0d1c722e5d6d33a58255ceb55e9410e46.tar.gz
Shaarli-38672ba0d1c722e5d6d33a58255ceb55e9410e46.tar.zst
Shaarli-38672ba0d1c722e5d6d33a58255ceb55e9410e46.zip
Merge tag 'v0.10.4' into stable
Release v0.10.4
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};