Skip to content

Improved options validation #1772

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Improved configuration validation via ajv

## [1.0.1] - 2021-12-22

- Fixed bug where imports would be mangled intermittently (depends on version of parser that is installed)
Expand Down
7 changes: 7 additions & 0 deletions docs/options/css-overrides.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"css": {
"sortDeclarations": {
"overrides": ["display", "*"]
}
}
}
5 changes: 5 additions & 0 deletions docs/options/css-parser.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"css": {
"parser": null
}
}
Binary file modified docs/options/css.md
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/options/general-isTestRun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"logLevel": "diagnostic"
}
3 changes: 3 additions & 0 deletions docs/options/general-logLevel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"isTestRun": false
}
Binary file modified docs/options/general.md
Binary file not shown.
1 change: 1 addition & 0 deletions docs/playground/294.36d71788071f25c75e84.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/playground/294.ed4cd5c2b9d23d2ec92a.js

This file was deleted.

2 changes: 0 additions & 2 deletions docs/playground/377.6c6b048d366310fe48ef.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/playground/377.acb7d91deff005f2d8eb.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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

1 change: 1 addition & 0 deletions docs/playground/875.731cadf7b5fc73933c02.js

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

1 change: 0 additions & 1 deletion docs/playground/875.bfbfac2aaa8567db144a.js

This file was deleted.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/playground/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><title>Sortier - Code Sorter</title><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="Description" name="description"/><meta content="width=device-width,initial-scale=1,minimum-scale=1" name="viewport"/><link href="../index.css" rel="stylesheet"/><link href="../favicon.svg" rel="icon" sizes="any" type="image/svg+xml"/><script defer="defer" src="/sortier/playground/app.76a6af5f2a05f9eb8427.js"></script></head><body><div class="header"><div class="app-title"><a href="/sortier/">Sortier</a></div></div><div class="site--mount full-page"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><title>Sortier - Code Sorter</title><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="Description" name="description"/><meta content="width=device-width,initial-scale=1,minimum-scale=1" name="viewport"/><link href="../index.css" rel="stylesheet"/><link href="../favicon.svg" rel="icon" sizes="any" type="image/svg+xml"/><script defer="defer" src="/sortier/playground/app.e229f1738ec21e30f93b.js"></script></head><body><div class="header"><div class="app-title"><a href="/sortier/">Sortier</a></div></div><div class="site--mount full-page"></div></body></html>
Loading