Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
darwintantuco committed May 18, 2024
1 parent ae40f36 commit da4454c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All changes on this project will be documented in this file.

## [1.1.0] - May 18, 2024

- Support method="dialog"

## [1.0.2] - April 24, 2022

- Rename package from eslint-plugin-require-form-method-post to eslint-plugin-require-form-method
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-require-form-method",
"version": "1.0.2",
"version": "1.1.0",
"description": "Disallow form tags without explicit method attribute",
"author": "Darwin Tantuco",
"main": "lib/index.js",
Expand Down Expand Up @@ -35,6 +35,7 @@
"eslint-plugin",
"security"
],
"repository": "git@github.com:darwintantuco/eslint-plugin-require-form-method.git",
"homepage": "https://github.com/darwintantuco/eslint-plugin-require-form-method",
"bugs": {
"url": "https://github.com/darwintantuco/eslint-plugin-require-form-method/issues"
Expand Down
2 changes: 2 additions & 0 deletions tests/lib/rules/require-form-method.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ ruleTester.run("require-form-method", rule, {
},
// Allow form tags with explicit method="get"
{ code: `<form method="get"></form>` },
// Allow form tags with explicit method="dialog"
{ code: `<form method="dialog"></form>` },
{ code: `<form className='form' method="get"></form>` },
// Multiline
{
Expand Down

0 comments on commit da4454c

Please sign in to comment.