Skip to content

🚨 Ignore docs when linting #510

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

Merged
merged 1 commit into from
Aug 23, 2021
Merged

🚨 Ignore docs when linting #510

merged 1 commit into from
Aug 23, 2021

Conversation

alecgibson
Copy link
Collaborator

Fixes #509

For some reason, the build has started linting our /docs/ folder. It's
possible that this was an eslint bug, and that it should have always
been linted, since we just use our .gitignore file (and the JS in our
docs folder is ignored by its own, nested .gitignore file).

This change bumps our version of eslint, and adds the /docs/ folder
separately to be ignored by eslint.

For some reason, the build has started linting our `/docs/` folder. It's
possible that this was an `eslint` bug, and that it should have always
been linted, since we just use our `.gitignore` file (and the JS in our
docs folder is ignored by its own, nested `.gitignore` file).

This change bumps our version of `eslint`, and adds the `/docs`/ folder
separately to be ignored by `eslint`.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.373% when pulling fb1e7da on eslintignore into 8263263 on master.

"lolex": "^5.1.1",
"mocha": "^8.2.1",
"nyc": "^14.1.1",
"ot-json0-v2": "ottypes/json0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, why did we need to add this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it just got moved when I ran npm install — I'd added this by hand before, and I guess I don't alphabet so good 🤦🏼‍♂️

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right and I don't read diffs good

Copy link
Contributor

@pypmannetjies pypmannetjies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alecgibson alecgibson merged commit 916705a into master Aug 23, 2021
@alecgibson alecgibson deleted the eslintignore branch August 23, 2021 14:01
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.

Make CI Sane
3 participants