From 07c4dcb976b79fb843f13cd67fe8ac2820ad68c9 Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 01:53:22 -0300 Subject: ESLint Setup --- .eslintrc.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .eslintrc.json (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..c1af961 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,25 @@ +{ + "extends": [ + "eslint:recommended", + "plugin:import/errors", + "plugin:react/recommended", + "plugin:jsx-a11y/recommended", + "prettier", + "prettier/react" + ], + "rules": { "react/prop-types": 0, "no-console": 1, "no-unused-vars": 1 }, + "plugins": [], + "parserOptions": { + "ecmaVersion": 2019, + "sourceType": "module", + "ecmaFeatures": { + "jsx": true + } + }, + "env": { + "es6": true, + "browser": true, + "node": true + }, + "settings": { "react": { "version": "detect" } } +} -- cgit v1.2.1-18-gbd029