Skip to content

Commit e8f1221

Browse files
committed
Clean-up project
1 parent 05973c4 commit e8f1221

8 files changed

+28
-6675
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
insert_final_newline = true
11+
12+
# Matches multiple files with brace expansion notation
13+
# Set default charset
14+
[*.{js,json}]
15+
indent_size = 2
16+
indent_style = space

.eslintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
"extends": "react-app"
3+
};

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@
1919
npm-debug.log*
2020
yarn-debug.log*
2121
yarn-error.log*
22+
23+
yarn.lock

src/App.css

-28
This file was deleted.

src/App.js

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
import React, { Component } from 'react';
2-
import logo from './logo.svg';
3-
import './App.css';
42

53
class App extends Component {
64
render() {
75
return (
8-
<div className="App">
9-
<header className="App-header">
10-
<img src={logo} className="App-logo" alt="logo" />
11-
<h1 className="App-title">Welcome to React</h1>
12-
</header>
13-
<p className="App-intro">
14-
To get started, edit <code>src/App.js</code> and save to reload.
15-
</p>
6+
<div>
7+
<h1>Chat</h1>
168
</div>
179
);
1810
}

src/index.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ import './index.css';
44
import App from './App';
55
import registerServiceWorker from './registerServiceWorker';
66

7-
ReactDOM.render(<App />, document.getElementById('root'));
7+
ReactDOM.render(
8+
<App />,
9+
document.getElementById('root')
10+
);
11+
812
registerServiceWorker();

src/logo.svg

-7
This file was deleted.

0 commit comments

Comments
 (0)