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

DEV: Don't lint core files when target == plugins #10259

Merged
merged 13 commits into from Aug 25, 2020
Merged

DEV: Don't lint core files when target == plugins #10259

merged 13 commits into from Aug 25, 2020

Conversation

CvX
Copy link
Contributor

@CvX CvX commented Jul 17, 2020

Less work for the GitHub Actions and less noise in the results.

@CvX CvX requested a review from tgxworld July 17, 2020 12:28
@tgxworld
Copy link
Contributor

Looks good to me :) feel free to merge

if: env.BUILD_TYPE == 'LINT' && env.TARGET == 'PLUGINS'
run: |
yarn prettier -v
yarn prettier --list-different "plugins/**/*.scss" "plugins/**/*.es6"
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to add .js here, since we have stopped using .es6 in some plugins?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ha, good eye! So we were not linting some files then. 😅

Copy link
Member

Choose a reason for hiding this comment

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

Yeah I guess so!

Sorry to bring it up in this PR, it's not really related. Maybe we should fix that separately?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Too late, added to this PR 😜

Copy link
Member

Choose a reason for hiding this comment

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

Looks like we were indeed missing some linting failures 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, #10260 😁

@SamSaffron
Copy link
Member

looks like we have general approval here @CvX can you merge when you start your day ?

@SamSaffron SamSaffron added the 👍 OP to merge PR author can go ahead and merge! label Aug 3, 2020
@tgxworld
Copy link
Contributor

@CvX Is this good to merge?

@CvX
Copy link
Contributor Author

CvX commented Aug 25, 2020

Now it is 😃

@tgxworld
Copy link
Contributor

Merge away :)

@CvX CvX merged commit d684d5f into master Aug 25, 2020
@CvX CvX deleted the plugin-lint branch August 25, 2020 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 OP to merge PR author can go ahead and merge!
4 participants