Skip to content

Commit

Permalink
chore: move to angular style guide
Browse files Browse the repository at this point in the history
Follow angular style guide naming rules
https://angular.io/guide/styleguide#naming
  • Loading branch information
iamandrewluca committed Mar 8, 2019
1 parent 3e3ac4a commit 8281cc7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/App.test.tsx → src/app.component.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import App from './app.component';

it('renders without crashing', () => {
const div = document.createElement('div');
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx → src/app.component.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import './app.component.css';

class App extends Component {
render() {
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import App from './app.component';
import * as serviceWorker from './serviceWorker';

ReactDOM.render(<App />, document.getElementById('root'));
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve"
"jsx": "preserve",
"noImplicitAny": false
},
"include": [
"src"
Expand Down

0 comments on commit 8281cc7

Please sign in to comment.