Skip to content
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

style(eslint): matching style of lensapp #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haysclark
Copy link
Contributor

  • adds eslint rules from lensapp root project
  • include-header rules have disabled
  • performed eslint —fix
  • surpressed the few eslint errors related to unused-imports/no-unused-vars-ts
  • adds ‘lint’ steps to test script
  • adds jest --passWithNoTests to test script
  • resolves Code should match the lint rules of the parent Lens application #2

Signed-off-by: Hays Clark [email protected]

- adds eslint rules from lensapp root project
- include-header rules have disabled
- performed `eslint —fix`
- surpressed the few eslint errors related to unused-imports/no-unused-vars-ts
- adds ‘lint’ steps to `test` script
- adds jest `--passWithNoTests` to `test` script
- resolves jenkins-x-plugins#2

Signed-off-by: Hays Clark <[email protected]>
@haysclark
Copy link
Contributor Author

Ideally we should add the npm test to a PR job.

@haysclark
Copy link
Contributor Author

An alternative would be to use something like git filter-branch and rewrite the repo history with the new lint rules applied.

love2hina-net pushed a commit to love2hina-net/jx-lens-extension that referenced this pull request Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code should match the lint rules of the parent Lens application
1 participant