diff --git a/.changeset/sixty-cougars-ring.md b/.changeset/sixty-cougars-ring.md deleted file mode 100644 index a45bbedb..00000000 --- a/.changeset/sixty-cougars-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-yml": minor ---- - -feat: add `yml/no-trailing-zeros` rule diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fa895ee..7b99a2d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # eslint-plugin-yml +## 1.6.0 + +### Minor Changes + +- [#236](https://github.com/ota-meshi/eslint-plugin-yml/pull/236) [`7e34b77`](https://github.com/ota-meshi/eslint-plugin-yml/commit/7e34b7748a4e3663ab56dc504214ba613b3f8347) Thanks [@sxyazi](https://github.com/sxyazi)! - feat: add `yml/no-trailing-zeros` rule + ## 1.5.0 ### Minor Changes diff --git a/docs/rules/no-trailing-zeros.md b/docs/rules/no-trailing-zeros.md index 3159823f..de12dbb0 100644 --- a/docs/rules/no-trailing-zeros.md +++ b/docs/rules/no-trailing-zeros.md @@ -3,13 +3,13 @@ pageClass: "rule-details" sidebarDepth: 0 title: "yml/no-trailing-zeros" description: "disallow trailing zeros for floats" +since: "v1.6.0" --- # yml/no-trailing-zeros > disallow trailing zeros for floats -- :exclamation: **_This rule has not been released yet._** - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details @@ -36,6 +36,10 @@ This rule enforces the removal of unnecessary trailing zeros from floats. Nothing. +## :rocket: Version + +This rule was introduced in eslint-plugin-yml v1.6.0 + ## :mag: Implementation - [Rule source](https://github.com/ota-meshi/eslint-plugin-yml/blob/master/src/rules/no-trailing-zeros.ts) diff --git a/package.json b/package.json index c6628259..aac65ce9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-yml", - "version": "1.5.0", + "version": "1.6.0", "description": "This ESLint plugin provides linting rules for YAML.", "main": "lib/index.js", "files": [