diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1b83267 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = tab +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/package.json b/package.json index b62c921..ed78b93 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint-staged": { "*.{js,jsx,ts,tsx}": [ "prettier --write", - "eslint --fix" + "eslint --fix --config .eslintrc.json" ] }, "dependencies": {