diff options
author | Julien Dessaux | 2022-10-22 18:38:28 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-10-22 18:38:28 +0200 |
commit | 9c464327fa0c026d638efa82af03710b5b6973b1 (patch) | |
tree | d21505325288930ffbd29d24d2b1f33c4cc6759b /static/.eslintrc.json | |
parent | Compute words and points from placed letters (diff) | |
download | jeux-de-mots-9c464327fa0c026d638efa82af03710b5b6973b1.tar.gz jeux-de-mots-9c464327fa0c026d638efa82af03710b5b6973b1.tar.bz2 jeux-de-mots-9c464327fa0c026d638efa82af03710b5b6973b1.zip |
Began writing an express backend
Diffstat (limited to 'static/.eslintrc.json')
-rw-r--r-- | static/.eslintrc.json | 36 |
1 files changed, 36 insertions, 0 deletions
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" + ] + } +} |