From 2dc3ad70a37464288f58bad61d20a0ce2b4a2c2e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 3 Dec 2020 11:06:25 +0100 Subject: [PATCH] editor and lint settings --- .editorconfig | 14 ++++++++++++++ .eslintrc.js | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .editorconfig create mode 100644 .eslintrc.js diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8805773 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4 + +# Matches multiple files with brace expansion notation +# Set default charset +# [*.{js,py}] diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..24bbb04 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,14 @@ +module.exports = { + "env": { + "browser": true, + "es6": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": 2020, + "sourceType": "module" + }, + "rules": { + "no-console": "off" + } +};