Skip to content

Shared linting for acceptance tests #16

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 7 commits into from
Apr 27, 2023
Merged

Shared linting for acceptance tests #16

merged 7 commits into from
Apr 27, 2023

Conversation

kylehar9
Copy link
Contributor

@kylehar9 kylehar9 commented Apr 25, 2023

Description

Add shared configuration for our WDIO acceptance tests.
Add fixtures to the test overrides list where certain rules are disabled.

Changes

  • qa.js configuration added.
  • Release version 6.0.0-alpha.4.

@kylehar9 kylehar9 requested a review from a team as a code owner April 25, 2023 19:38
@kylehar9 kylehar9 changed the title Acceptance test shared linting Shared linting for Acceptance Tests Apr 25, 2023
@kylehar9 kylehar9 changed the title Shared linting for Acceptance Tests Shared linting for acceptance tests Apr 25, 2023
@kylehar9 kylehar9 requested review from skye2k2 and FSVetaz April 25, 2023 19:58
wdio.js Outdated
module.exports = {
overrides: [
{
files: ['test/client/**/*.js'],

Choose a reason for hiding this comment

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

this doesn't work for babylon

Copy link
Collaborator

Choose a reason for hiding this comment

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

Would just test/**/*.js work?

index.js Outdated
@@ -1,3 +1,3 @@
module.exports = {
extends: ['@fs/eslint-config-frontier-react/react', './es6'],
extends: ['@fs/eslint-config-frontier-react/react', './es6', './wdio'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know this is mostly arguing semantics, but I would rather have this called something more like qa, since there is no reason to be specific to the current technology being used.

@@ -88,9 +88,6 @@ Generated by [AVA](https://ava.li).
"@typescript-eslint/keyword-spacing": [␊
"off"␊
],␊
"@typescript-eslint/lines-around-comment": [␊
Copy link
Collaborator

Choose a reason for hiding this comment

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

@FSVetaz: I understand running this command, but I am extremely confused as to why this change does not show anywhere in the resulting files changed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Something on Kyle's machine is weird and it added this. It shouldn't be added in theory--it's a formatting rule. Not sure why Kyle's machine added it.
I didn't delve to deep into why that was.

Copy link
Contributor

Choose a reason for hiding this comment

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

With or without it, nothing changes in the resulting eslint linting/formatting

@skye2k2 skye2k2 merged commit 9169645 into master Apr 27, 2023
@skye2k2 skye2k2 deleted the kyle/wdio-linting branch April 27, 2023 13:40
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.

4 participants