From 1efa2fa9c6c809672d853023f05fbb8bde623a4e Mon Sep 17 00:00:00 2001 From: nklomp Date: Sun, 28 Nov 2021 19:08:55 +0100 Subject: [PATCH] chore: eslintrc --- .eslintrc.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..5e6bb9a9a --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,25 @@ +module.exports = { + 'env': { + 'browser': true, + 'commonjs': true, + 'es2021': true, + 'node': true, + }, + 'extends': [ + 'plugin:react/recommended', + 'google', + ], + 'parser': '@typescript-eslint/parser', + 'parserOptions': { + 'ecmaFeatures': { + 'jsx': true, + }, + 'ecmaVersion': 13, + }, + 'plugins': [ + 'react', + '@typescript-eslint', + ], + 'rules': { + }, +};