From 13f6d34cefb3bc5e3ba65a959304d4465f0ee92a Mon Sep 17 00:00:00 2001 From: mhatvan Date: Wed, 4 Aug 2021 17:44:54 +0200 Subject: chore: improve dev setup - upgrade uuid, eslint, husky - improve .eslintrc.js and correct lint script - update uuid imports to conform to v8 - add .prettierrc.js for consistent formatting - file changes due to lint --fix --- .eslintrc.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js index 066d415..d3bc05b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,12 +1,11 @@ module.exports = { + root: true, env: { commonjs: true, es6: true, node: true, }, - extends: [ - 'airbnb-base', - ], + extends: ['airbnb-base'], globals: { Atomics: 'readonly', SharedArrayBuffer: 'readonly', @@ -21,8 +20,14 @@ module.exports = { ecmaVersion: 2018, }, rules: { - "class-methods-use-this": 'off', - "no-restricted-syntax": 'off', - "max-len": 0, + 'arrow-parens': 0, + 'class-methods-use-this': 0, + eqeqeq: 1, + 'implicit-arrow-linebreak': 0, + 'max-len': 0, + 'no-await-in-loop': 1, + 'no-restricted-syntax': 0, + 'operator-linebreak': 0, + 'object-curly-newline': 0, }, }; -- cgit v1.2.3-54-g00ecf