-
Notifications
You must be signed in to change notification settings - Fork 41
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
Basic setup for Linting #91
Comments
@Shift3/pr-team does anyone have a slick linter setup they would like to share with the team? |
autoformat js and typescript in vim using prettier so that I don't ever have to worry about formatting. I'm sure there's an equivalent for vscode. |
Ive used rubocop for ruby on rails apps before. Works pretty well on standard rulesets but you can get very specific as well. For Python, I have used python black. Looks like it was referenced here as well: #131 For Laravel/PHP Ive heard good things about: https://github.com/overtrue/phplint, although I just used the phpstorm default Linter in the past. |
Current I have: "extends": [
"eslint:recommended",
"airbnb",
"airbnb/hooks",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:react-native/all",
"plugin:import/recommended",
"prettier",
"plugin:prettier/recommended",
"plugin:jest/all"
],
"plugins": ["react", "react-native", "react-hooks", "jsx-a11y", "jest"], |
ESLint, TSLint, any other linters for other technology stacks we have.
The text was updated successfully, but these errors were encountered: