Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Tatomyr
fe405781c5 chore: update stale syntax (#1085) 2023-05-18 09:21:40 +02:00
Andrew Tatomyr
5d49510f88 refactor: do not add the recommended ruleset fallback when there is a config (#923) 2022-11-15 12:08:32 +01:00
Roman Sainchuk
ca70102985 feat: change assertion syntax + rename context -> where (#894) 2022-11-02 08:29:49 +01:00
Andrew Tatomyr
d7ddda9b69 chore: flatten configuration file by removing styleguide object (#847) 2022-09-13 09:24:21 +02:00
Roman Sainchuk
43d0f60955 chore: rename 'lint' to 'styleguide' (#790)
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
2022-08-05 13:53:51 +02:00
volodymyr-rutskyi
224565b316 feat: adjust assertions syntax (#662)
* Support new assertions syntax

* chore: update assertions syntax in tests

* feat: get assertionId from assertion name

* docs: update assertion docs

* chore: run prettier

* test: update snapshots

* fix: do not mutate original rules object

* Update __tests__/lint/assertions-casing-camel-case-error/.redocly.yaml

Co-authored-by: Adam Altman <adam@redoc.ly>

* Update __tests__/lint/assertions-casing-snake-case-error/.redocly.yaml

Co-authored-by: Adam Altman <adam@redoc.ly>

* Update __tests__/lint/assertions-defined-error/.redocly.yaml

Co-authored-by: Adam Altman <adam@redoc.ly>

* test: update snapshots

* code style suggestion

Co-authored-by: Andrew Tatomyr <andrew.tatomyr@gmail.com>

* fix: correctly handle nested configs with assertions

* test: correctly merged assertions nested config

* chore: fix types

* chore: run prettier

Co-authored-by: Volodymyr Rutskyi <volodymyrrutskyi@Volodymyrs-MacBook-Pro-2.local>
Co-authored-by: Adam Altman <adam@redoc.ly>
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@gmail.com>
2022-05-11 09:42:11 +03:00
Oleksii Horbachevskyi
ffb8c40fb3 feat: assertions rules (#489)
Co-authored-by: Anastasiia <anastasiia@redocly.com>
Co-authored-by: Adam Altman <adam@redoc.ly>
Co-authored-by: Ivana Isadora Devcic <33730345+skadinna@users.noreply.github.com>
2022-04-04 10:53:02 +03:00