aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-07-23 00:39:22 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-07-23 00:39:22 +0200
commitb07f07c96f88c5e9be9aaf05feed8ef790076482 (patch)
tree2e4d53705303b8a7fa5b3aaa130a261cb0c2cb91 /.eslintrc.json
parent109332ee71869f090a472bd2fb455f2d3f48b91e (diff)
downloadfietsboek-b07f07c96f88c5e9be9aaf05feed8ef790076482.tar.gz
fietsboek-b07f07c96f88c5e9be9aaf05feed8ef790076482.tar.bz2
fietsboek-b07f07c96f88c5e9be9aaf05feed8ef790076482.zip
clean up javascript
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 0000000..cbdf52f
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,19 @@
+{
+ "env": {
+ "browser": true,
+ "es2021": true
+ },
+ "extends": [
+ "google"
+ ],
+ "parserOptions": {
+ "ecmaVersion": "latest",
+ "sourceType": "module"
+ },
+ "rules": {
+ "quotes": "off",
+ "max-len": [2, {"code": 100}],
+ "valid-jsdoc": [2, {"requireParamType": false, "requireReturnType": false, "requireReturn": false}],
+ "indent": [2, 2]
+ }
+}