diff --git a/.eslintrc.json b/.eslintrc.json index 1519b07..0db8d39 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,20 +1,23 @@ { "env": { - "browser": true, - "es2021": true + "browser": true, + "es2021": true }, - "extends": [ - "eslint:recommended", - "plugin:react/recommended", - "plugin:prettier/recommended" - ], + "extends": ["eslint:recommended", "plugin:react/recommended"], "parserOptions": { - "ecmaVersion": "latest", - "sourceType": "module" + "ecmaVersion": "latest", + "sourceType": "module" }, - "plugins": [ - "react" - ], + "plugins": ["react", "prettier"], "rules": { + "prettier/prettier": "error", + "react/react-in-jsx-scope": "off", + "indent": ["error", 2], + "linebreak-style": ["error", "unix"], + "quotes": ["error", "single"], + "semi": ["error", "always"], + "no-extra-semi": "error", + "no-tabs": ["error", { "allowIndentationTabs": true }] } -} + } + \ No newline at end of file