# EditorConfig is awesome: https://EditorConfig.org # Top-most EditorConfig file root = true # All files [*] charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true indent_style = space indent_size = 2 # Markdown files [*.md] trim_trailing_whitespace = false max_line_length = off # YAML files [*.{yml,yaml}] indent_style = space indent_size = 2 # JSON files [*.{json,jsonc}] indent_style = space indent_size = 2 # JavaScript/TypeScript files [*.{js,jsx,ts,tsx,cjs,mjs}] indent_style = space indent_size = 2 # Python files [*.py] indent_style = space indent_size = 4 # Shell scripts [*.{sh,bash}] indent_style = space indent_size = 2 # XML files [*.xml] indent_style = space indent_size = 2 # Package files [{package.json,package-lock.json,yarn.lock}] indent_style = space indent_size = 2