# EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true # Matches multiple files with brace expansion notation [*.{js,jsx,ts,tsx,vue}] indent_style = space indent_size = 2 # Matches multiple files with brace expansion notation [*.{json,md,yml,yaml}] indent_style = space indent_size = 2 # Matches multiple files with brace expansion notation [*.scss] indent_style = space indent_size = 2 # The above files are for code, but for config files we want no indentation [{package.json,.eslintrc.cjs,.prettierrc}] indent_style = space indent_size = 2