Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

refactor: use tabs for indentation and spaces for alignment #23

Merged
merged 1 commit into from
Oct 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_style = space
indent_size = 2
44,652 changes: 22,326 additions & 22,326 deletions package-lock.json

Large diffs are not rendered by default.

146 changes: 76 additions & 70 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,72 +1,78 @@
{
"name": "@bycedric/github-website",
"version": "0.0.0",
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/bycedric/github-website.git"
},
"dependencies": {
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-scripts": "2.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"devDependencies": {
"@commitlint/travis-cli": "^7.1.2",
"@peakfijn/config-commitlint": "^0.8.0",
"@semantic-release/changelog": "^3.0.0",
"codecov": "^3.1.0",
"conventional-changelog-peakfijn": "^0.8.0",
"flow-bin": "^0.81.0",
"release-rules-peakfijn": "^0.8.0",
"semantic-release": "^15.9.16",
"semantic-release-git-branches": "^1.2.1",
"stylelint": "^9.6.0",
"stylelint-config-concentric-order": "^3.4.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.4.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"commitlint": {
"extends": [
"@peakfijn/config-commitlint"
]
},
"eslintConfig": {
"extends": "react-app"
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-concentric-order",
"stylelint-config-styled-components"
],
"processors": [
"stylelint-processor-styled-components"
]
},
"greenkeeper": {
"commitMessages": {
"initialBadge": "documentation: add greenkeeper badge",
"initialDependencies": "chore: update dependencies",
"initialBranches": "chore: whitelist greenkeeper branches",
"dependencyUpdate": "refactor: upgrade ${dependency} to version ${version}",
"devDependencyUpdate": "refactor: upgrade ${dependency} to version ${version}",
"dependencyPin": "fix: freeze ${dependency} to ${oldVersion}",
"devDependencyPin": "fix: freeze ${dependency} to ${oldVersion}"
}
}
"name": "@bycedric/github-website",
"version": "0.0.0",
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/bycedric/github-website.git"
},
"dependencies": {
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-scripts": "2.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"devDependencies": {
"@commitlint/travis-cli": "^7.1.2",
"@peakfijn/config-commitlint": "^0.8.0",
"@semantic-release/changelog": "^3.0.0",
"codecov": "^3.1.0",
"conventional-changelog-peakfijn": "^0.8.0",
"flow-bin": "^0.81.0",
"release-rules-peakfijn": "^0.8.0",
"semantic-release": "^15.9.16",
"semantic-release-git-branches": "^1.2.1",
"stylelint": "^9.6.0",
"stylelint-config-concentric-order": "^3.4.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.4.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"commitlint": {
"extends": [
"@peakfijn/config-commitlint"
]
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"indent": ["error", "tab"]
}
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-concentric-order",
"stylelint-config-styled-components"
],
"processors": [
"stylelint-processor-styled-components"
],
"rules": {
"indentation": "tab"
}
},
"greenkeeper": {
"commitMessages": {
"initialBadge": "documentation: add greenkeeper badge",
"initialDependencies": "chore: update dependencies",
"initialBranches": "chore: whitelist greenkeeper branches",
"dependencyUpdate": "refactor: upgrade ${dependency} to version ${version}",
"devDependencyUpdate": "refactor: upgrade ${dependency} to version ${version}",
"dependencyPin": "fix: freeze ${dependency} to ${oldVersion}",
"devDependencyPin": "fix: freeze ${dependency} to ${oldVersion}"
}
}
}
92 changes: 46 additions & 46 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}
</style>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}
</style>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
26 changes: 13 additions & 13 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
10 changes: 5 additions & 5 deletions src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 18 additions & 18 deletions src/pages/app/App.css
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
.App {
text-align: center;
text-align: center;
}

.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 40vmin;
animation: App-logo-spin infinite 20s linear;
height: 40vmin;
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
color: #61dafb;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
Loading