Skip to content

Commit

Permalink
Upgrade AlterSchema to 744cf03a950b681a61f1f4cf6a7bb55bc52836c9 (#166)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information
jviotti authored Sep 27, 2024
1 parent 31396cb commit 01e40b4
Show file tree
Hide file tree
Showing 141 changed files with 4,842 additions and 42 deletions.
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ vendorpull https://github.com/sourcemeta/vendorpull dea311b5bfb53b6926a414026795
noa https://github.com/sourcemeta/noa 7e26abce7a4e31e86a16ef2851702a56773ca527
jsontoolkit https://github.com/sourcemeta/jsontoolkit 3ef19daf7ca042544239111c701a51232f3f5576
hydra https://github.com/sourcemeta/hydra 3c53d3fdef79e9ba603d48470a508cc45472a0dc
alterschema https://github.com/sourcemeta/alterschema a31722f04ae2d7e57f2fe5bbb0613670866c0840
alterschema https://github.com/sourcemeta/alterschema 744cf03a950b681a61f1f4cf6a7bb55bc52836c9
6 changes: 4 additions & 2 deletions src/command_lint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ auto sourcemeta::jsonschema::cli::lint(
const auto options{parse_options(arguments, {"f", "fix"})};

sourcemeta::alterschema::Bundle bundle;
sourcemeta::alterschema::add(
bundle, sourcemeta::alterschema::LinterCategory::Modernize);
sourcemeta::alterschema::add(
bundle, sourcemeta::alterschema::LinterCategory::AntiPattern);
sourcemeta::alterschema::add(
bundle, sourcemeta::alterschema::LinterCategory::Simplify);
sourcemeta::alterschema::add(
bundle, sourcemeta::alterschema::LinterCategory::Superfluous);
sourcemeta::alterschema::add(
bundle, sourcemeta::alterschema::LinterCategory::Redundant);
sourcemeta::alterschema::add(
bundle, sourcemeta::alterschema::LinterCategory::SyntaxSugar);

bool result{true};

Expand Down
8 changes: 8 additions & 0 deletions vendor/alterschema/CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 142 additions & 10 deletions vendor/alterschema/src/linter/CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions vendor/alterschema/src/linter/antipattern/duplicate_enum_values.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 28 additions & 1 deletion vendor/alterschema/src/linter/antipattern/enum_with_type.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 01e40b4

Please sign in to comment.