diff --git a/.eslintrc.json b/.eslintrc.json index 908f4d5..9d4d0e3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,9 +1,15 @@ { "root": true, "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint", "jest"], - "extends": ["eslint:recommended", "prettier", "plugin:jest/recommended"], + "plugins": ["@typescript-eslint", "jest", "prettier"], + "extends": [ + "plugin:@typescript-eslint/recommended, plugin:prettier/recommended", + "plugin:jest/recommended" + ], "rules": { + "prettier/prettier": "error", + "arrow-body-style": "off", + "prefer-arrow-callback": "off", "semi": "error" } } diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..3228352 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "tabWidth": 2, + "useTabs": false, + "singleQuote": true, + "semi": true, + "printWidth": 100 +} diff --git a/index.html b/index.html index d0c7403..a62c03d 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@