From 9c464327fa0c026d638efa82af03710b5b6973b1 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 22 Oct 2022 18:38:28 +0200 Subject: Began writing an express backend --- static/.eslintrc.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 static/.eslintrc.json (limited to 'static/.eslintrc.json') diff --git a/static/.eslintrc.json b/static/.eslintrc.json new file mode 100644 index 0000000..4097d70 --- /dev/null +++ b/static/.eslintrc.json @@ -0,0 +1,36 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": "eslint:recommended", + "overrides": [ + { + "files": ["**/*.js"], + "globals": { + "CWDATA": "writable" + } + } + ], + "parserOptions": { + "ecmaVersion": "latest" + }, + "rules": { + "indent": [ + "error", + "tab" + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "error", + "double" + ], + "semi": [ + "error", + "always" + ] + } +} -- cgit v1.2.3