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

[Backport 2.x] [Stylelint] Add invalid properties rule #4441

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport d285ecb from #4374.

* Add invalid properties rule

Signed-off-by: Matt Provost <provomat@amazon.com>

* Update changelog

Signed-off-by: Matt Provost <provomat@amazon.com>

* Rename old variable

Signed-off-by: Matt Provost <provomat@amazon.com>

* Add types for configs

Signed-off-by: Matt Provost <provomat@amazon.com>

* Rename rule to no_restricted_properties

Signed-off-by: Matt Provost <provomat@amazon.com>

* Refactor duplicate functions into generic one

Signed-off-by: Matt Provost <provomat@amazon.com>

* Add type definitions

Signed-off-by: Matt Provost <provomat@amazon.com>

* Add some documentation about supported config types

Signed-off-by: Matt Provost <provomat@amazon.com>

* Update changelog

Signed-off-by: Matt Provost <provomat@amazon.com>

* Optchain instead of unwrapping source file

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Matt Provost <provomat@amazon.com>
(cherry picked from commit d285ecb)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Merging #4441 (d5d41f5) into 2.x (addc22d) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              2.x    #4441      +/-   ##
==========================================
+ Coverage   66.36%   66.42%   +0.05%     
==========================================
  Files        3246     3246              
  Lines       62443    62443              
  Branches     9671     9671              
==========================================
+ Hits        41443    41477      +34     
+ Misses      18649    18621      -28     
+ Partials     2351     2345       -6     
Flag Coverage Δ
Linux 66.36% <ø> (ø)
Windows 66.36% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 7 files with indirect coverage changes

@joshuarrrr joshuarrrr merged commit b6f0d80 into 2.x Jun 29, 2023
@joshuarrrr joshuarrrr deleted the backport/backport-4374-to-2.x branch June 29, 2023 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports repeat-contributor v2.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants