Skip to content

Commit

Permalink
v0.7.3 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei committed Jul 14, 2022
1 parent 6fd4f47 commit 08f99e0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.7.3] - 2022-07-14
### Added
- Add rule `forbid-attributes`

## [0.7.2] - 2022-05-22
### Added
- Add rule `no-inconsistent-tagname`
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": "eslint-plugin-wxml",
"version": "0.7.2",
"version": "0.7.3",
"description": "eslint plugin for wxml",
"main": "lib/index.js",
"type": "commonjs",
Expand Down
4 changes: 1 addition & 3 deletions tests/rules/forbid-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ tester.run("forbid-attributes", rule, {
code: "<div className='style' />",
options: [
{
forbid: [
{ attr: "className", message: "please use class instead" }
],
forbid: [{ attr: "className", message: "please use class instead" }],
},
],
errors: [
Expand Down

1 comment on commit 08f99e0

@vercel
Copy link

@vercel vercel bot commented on 08f99e0 Jul 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.