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

Replaces sass-lint with stylelint #1294

Closed
wants to merge 1 commit into from

Conversation

tmarkley
Copy link
Contributor

@tmarkley tmarkley commented Feb 28, 2022

Description

  • Introduces standard scss rules from stylelint with only a few modifications.
  • yarn lint now runs yarn lint:style instead of yarn lint:sass.
  • Many of the files were updated with yarn lint:style --fix, but some of them had to be manually updated with overrides to adhere to the newly-introduced rules from the stylelint configuration.
  • Includes a couple fixes such as fixing the class selector for osdnSuggestionItem--value .osdSuggestionItem__text.

Issues Resolved

Resolves #551
Resolves #1139
Resolves #1151
Resolves #1152
Resolves #1154

Check List

  • New functionality includes testing.
    • All tests pass
      • yarn test:jest
      • yarn test:jest_integration
      • yarn test:ftr
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

@tmarkley tmarkley added dependencies Pull requests that update a dependency file v2.0.0 labels Feb 28, 2022
@tmarkley tmarkley requested a review from a team as a code owner February 28, 2022 05:33
@tmarkley tmarkley force-pushed the sass-lint branch 3 times, most recently from 7323ddb to 6375426 Compare March 2, 2022 22:38
@tmarkley
Copy link
Contributor Author

tmarkley commented Mar 2, 2022

Trying to determine why some functional tests are now timing out.

@tmarkley tmarkley force-pushed the sass-lint branch 2 times, most recently from bf9be85 to 8a87b3f Compare March 4, 2022 00:59
@tmarkley tmarkley added the cve Security vulnerabilities detected by Dependabot or Mend label Mar 16, 2022
@tmarkley tmarkley force-pushed the sass-lint branch 3 times, most recently from e330932 to e8e1b14 Compare March 17, 2022 15:56
@tmarkley tmarkley marked this pull request as draft March 24, 2022 18:09
@tmarkley
Copy link
Contributor Author

Converting to draft until the functional test failures have been solved.

* Introduces standard scss rules from stylelint with only a few
  modifications.
* `yarn lint` now runs `yarn lint:style` instead of `yarn lint:sass`.
* Many of the files were updated with `yarn lint:style --fix`, but some
  of them had to be manually updated with overrides to adhere to the
  newly-introduced rules from the stylelint configuration.
* Includes a couple fixes such as fixing the class selector for
  `osdnSuggestionItem--value .osdSuggestionItem__text`.

Resolves opensearch-project#551
Resolves opensearch-project#1139
Resolves opensearch-project#1151
Resolves opensearch-project#1152
Resolves opensearch-project#1154

Signed-off-by: Tommy Markley <[email protected]>
@ashwin-pc ashwin-pc mentioned this pull request Apr 1, 2022
7 tasks
@ashwin-pc
Copy link
Member

Change merged in #1413. Closing this PR

@ashwin-pc ashwin-pc closed this Apr 1, 2022
@tmarkley tmarkley deleted the sass-lint branch April 16, 2022 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cve Security vulnerabilities detected by Dependabot or Mend dependencies Pull requests that update a dependency file v2.0.0
Projects
None yet
2 participants