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

Setup StandardJS tool in the project as static analysis tool #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GhalyaJ
Copy link
Collaborator

@GhalyaJ GhalyaJ commented Oct 18, 2023

I installed the tool using: npm install standard --save-dev
Once installed, I added it to the dev dependencies, so that it can be easily available for other developers.

I ran the tool using: npx standard src and saved the output test/standardjs/terminalOutputForSrc.txt as evidence for running it.

I then used the --fix command through npx standard src --fix to apply the suggested changes to the src directory, and fixed the resulting linting issues through: npm run lint -- --fix.

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.

1 participant