feat: 🚀 initial commit
This commit is contained in:
		
							
								
								
									
										3
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| .DS_Store | ||||
| node_modules | ||||
| *.log | ||||
							
								
								
									
										4
									
								
								.eslintrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.eslintrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| { | ||||
|   "extends": ["plugin:prettier/recommended", "prettier"], | ||||
|   "plugins": ["prettier"] | ||||
| } | ||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| .DS_Store | ||||
| node_modules | ||||
| *.log | ||||
							
								
								
									
										10
									
								
								.next/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.next/index.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
|   <head> | ||||
|     <meta charset="UTF-8" /> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
|     <title>Document</title> | ||||
|   </head> | ||||
|   <body></body> | ||||
| </html> | ||||
							
								
								
									
										9
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| { | ||||
|   "editor.defaultFormatter": "esbenp.prettier-vscode", | ||||
|   "editor.formatOnSave": true, | ||||
|  | ||||
|   "files.exclude": { | ||||
|     "node_modules": true, | ||||
|     "yarn.lock": true | ||||
|   } | ||||
| } | ||||
							
								
								
									
										21
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| MIT License | ||||
|  | ||||
| Copyright (c) 2022 Walid Korchi | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
| in the Software without restriction, including without limitation the rights | ||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the Software is | ||||
| furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
							
								
								
									
										7
									
								
								index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								index.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| module.exports = { | ||||
|   trailingComma: 'none', | ||||
|   jsxSingleQuote: true, | ||||
|   semi: false, | ||||
|   singleQuote: true, | ||||
|   bracketSameLine: true | ||||
| } | ||||
							
								
								
									
										57
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,57 @@ | ||||
| { | ||||
|   "name": "@walidoux/prettier-config", | ||||
|   "version": "1.0.0", | ||||
|   "description": "Walidoux's Prettier config.", | ||||
|   "author": "Walid Korchi", | ||||
|   "license": "MIT", | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "https://github.com/walidoux/prettier-config" | ||||
|   }, | ||||
|   "homepage": "https://github.com/walidoux/prettier-config/#readme", | ||||
|   "bugs": { | ||||
|     "email": "contact@walidkorchi.com", | ||||
|     "url": "https://github.com/Walidoux/prettier-config/issues" | ||||
|   }, | ||||
|   "keywords": [ | ||||
|     "prettier", | ||||
|     "config" | ||||
|   ], | ||||
|   "files": [ | ||||
|     "index.js" | ||||
|   ], | ||||
|   "main": "index.js", | ||||
|   "prettier": "./index.js", | ||||
|   "husky": { | ||||
|     "hooks": { | ||||
|       "pre-commit": "nano-staged" | ||||
|     } | ||||
|   }, | ||||
|   "nano-staged": { | ||||
|     "**/*.js": [ | ||||
|       "eslint --fix", | ||||
|       "prettier --ignore-path .eslintignore --write" | ||||
|     ], | ||||
|     "**/*.{json,md,yml}": [ | ||||
|       "prettier --ignore-path .eslintignore --write" | ||||
|     ] | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "lint:eslint": "eslint '**/*.js' --fix", | ||||
|     "lint:prettier": "prettier '**/*.{js,json,md,yml}' --ignore-path .eslintignore --write --loglevel silent", | ||||
|     "lint-all": "npm-run-all lint:*" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "eslint": "^8.22.0", | ||||
|     "eslint-config-prettier": "^8.5.0", | ||||
|     "eslint-plugin-prettier": "^4.2.1", | ||||
|     "husky": "8.0.1", | ||||
|     "nano-staged": "^0.8.0", | ||||
|     "np": "^7.6.2", | ||||
|     "npm-run-all": "^4.1.5", | ||||
|     "prettier": "^2.7.1" | ||||
|   }, | ||||
|   "peerDependencies": { | ||||
|     "prettier": ">=2.7.1" | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user