Skip to content

Commit

Permalink
Merge branch 'release/0.4.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiKillertO committed May 26, 2020
2 parents 96114bc + f8e45e9 commit 19cc0f0
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## v0.4.0

### Features 🚀

#### [CLI] Improved `init` command

Give the possiblity to select the output format between `JS`, `JSON` and `YAML`. It's also possible to generate a config file in the legacy format (like HTMLLint) or in the new format (introduced in the [v0.3.0](#v0.3.0)).

#### Inline config with new config

Inline configs are now working with the new config format introduced in the [v0.3.0](#v0.3.0).
Inline config can be used to change a rule config or enable/disable a rule, see the [documentation](./README.md#inline-configuration) for more informations about inline config usages.

#### Ignore files

It's now possible to specify a list of list files to ignore using `.linthtmlignore` file or `ignoreFiles` property in the config file ([Documentation page](./docs/ignore-code.md)).

### Improvements 🔧

- Change `focusable-tabindex-style` rule behavior, now this rules report errors if a node has a tabindex greater than 0.
`frame` tag are now listed as self closing elements.
- Improve error message for rules `indent-size` and `indent-style`.

### Fix 🛠️

- The rule `id-class-style` is now correctly called when `id-style` or `class-style` are not activated.
- `tag-bans` is now case insensitive, when config is only a single string (same behavior as array config)
- Correctly extract config that are just numbers.

## v0.4.0-beta.4

### Feature 🚀
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linthtml/linthtml",
"version": "0.4.0-beta.4",
"version": "0.4.0",
"description": "The html5 linter and validator.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 19cc0f0

Please sign in to comment.