We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add linting with ESLint
yarn add -D eslint
https://eslint.vuejs.org/user-guide/
yarn add -D eslint-plugin-vue
https://github.com/prettier/eslint-plugin-prettier
yarn add -D eslint-plugin-prettier eslint-config-prettier
https://github.com/cypress-io/eslint-plugin-cypress/blob/master/FLAT-CONFIG.md
With husky & lint-staged
--max-warnings=0
Why not with pre-commit ? Requires to install a python package...
repos: - repo: https://github.com/pre-commit/mirrors-eslint rev: v9.3.0 hooks: - id: eslint types: [javascript]
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Story
Add linting with ESLint
Todo
Configuration
Default
Plugin for Vue
https://eslint.vuejs.org/user-guide/
Plugin for prettier
https://github.com/prettier/eslint-plugin-prettier
Plugin for cypress
https://github.com/cypress-io/eslint-plugin-cypress/blob/master/FLAT-CONFIG.md
Pre-commit
With husky & lint-staged
--max-warnings=0
to have lint-staged stop on eslint warningsWhy not with pre-commit ? Requires to install a python package...
The text was updated successfully, but these errors were encountered: