Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cenksari committed Jun 25, 2024
1 parent b94caaf commit f131a20
Show file tree
Hide file tree
Showing 7 changed files with 228 additions and 66 deletions.
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**/*.txt
**/*.png
**/*.jpg
**/*.ico
**/*.env
**/*.lock
**/*ignore
**/*license
21 changes: 10 additions & 11 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
module.exports = {
"semi": true,
"tabSize": 2,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "always",
"bracketSpacing": true,
"jsxSingleQuote": true,
"useTabs": false,
"printWidth": 100,
"endOfLine": "auto"
semi: true,
tabWidth: 2,
singleQuote: true,
trailingComma: 'es5',
arrowParens: 'always',
bracketSpacing: true,
jsxSingleQuote: true,
useTabs: false,
printWidth: 100,
endOfLine: 'auto',
};
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# React Crypto Exchange Template

You are free to download, change and use it anywhere. I will regularly update this template with new resources and pages I found on the web. Don't hesitate to participate by sending a PR! Maybe your first on Github :)

If you like this resource, please follow me on GitHub. Thank you!

## Demo

[https://cenksari.github.io/react-crypto-exchange/](https://cenksari.github.io/react-crypto-exchange/)

## Screenshots

![Dashboard](https://github.com/cenksari/react-crypto-exchange/blob/master/screenshots/1-dashboard.jpg?raw=true)

![Profile](https://github.com/cenksari/react-crypto-exchange/blob/master/screenshots/2-profile.jpg?raw=true)
Expand All @@ -20,10 +23,13 @@ If you like this resource, please follow me on GitHub. Thank you!
![Signin](https://github.com/cenksari/react-crypto-exchange/blob/master/screenshots/6-signin.jpg?raw=true)

## Authors

@cenksari

## Contributing

Open an issue or a pull request to suggest changes or additions.

## License

Free
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@
"react": "^18.3.1",
"react-apexcharts": "^1.4.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.1",
"react-router-dom": "^6.24.0",
"react-scripts": "^5.0.1",
"react-sparklines": "^1.7.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"deploy": "gh-pages -d build"
"build": "set \"GENERATE_SOURCEMAP=false\" && react-scripts build",
"deploy": "gh-pages -d build",
"eslint": "eslint ./src",
"prettier": "prettier --check **",
"prettier fix": "prettier --write **"
},
"eslintConfig": {
"extends": [
Expand All @@ -40,11 +43,11 @@
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"gh-pages": "^6.1.1",
"prettier": "^3.2.5"
"prettier": "^3.3.2"
}
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
Loading

0 comments on commit f131a20

Please sign in to comment.