Add editorconfig configuration

This commit is contained in:
2023-10-17 14:16:21 +07:00
parent 170b2b53f1
commit 55c708ebec
3 changed files with 18 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
+1 -1
View File
@@ -1,4 +1,4 @@
!.*.js !.*.js
**/dist/** **/dist/**
**/coverage/** **/coverage/**
**/package-lock.json **/package-lock.json
+5 -5
View File
@@ -1,9 +1,9 @@
import React from "react"; import React from 'react';
import ReactDOM from "react-dom/client"; import ReactDOM from 'react-dom/client';
import App from "./App.tsx"; import App from './App.tsx';
import "./index.css"; import './index.css';
ReactDOM.createRoot(document.getElementById("root")!).render( ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode> <React.StrictMode>
<App /> <App />
</React.StrictMode>, </React.StrictMode>,