-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #22
base: main
Are you sure you want to change the base?
Dev #22
Conversation
Feature/simplified lint flow
* Improved ESLint rules, sorting, and using next rules * sending with error * testing husky * should fail * should be fixed now * added eslint fix command on pre-commit with husky * improved prettier config * merged tsconfig with jsconfig * removed unnecesary vscode config and added default project vscode settings * removed codesandbox config * lock dependencies * lint * fix mdx images Co-authored-by: Tomas Discoli <tomas.discoli@scale.com>
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/coderhood/coderhood/AyrqLi6NzGk2MtTsdZYjkJNW42GP |
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn eslint --fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No me gusta que te edite el codigo sin que te des cuenta 😕
como prefieras, no es nada grave igual xD
yarn eslint --fix | |
yarn eslint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buen punto eh, tenes razon banco también que no hayan sorpresas
], | ||
"private": false, | ||
"scripts": { | ||
"lint": "yarn prettier && yarn eslint", | ||
"eslint": "eslint --max-warnings 20 'src/**/*.{js,jsx}' --ext jsconfig.json", | ||
"eslint-fix": "eslint --fix 'src/**/*.{js,jsx}' --ext jsconfig.json", | ||
"eslint": "eslint --max-warnings 50 'src/**/*.{js,jsx,ts,tsx}' --ext tsconfig.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
50 👀
Lol cada vez mas grande!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jajaja era para que me deje pushear y me colgué. Lo tengo que sacar 😅
No description provided.