Skip to content

Commit

Permalink
minor release v1.3.0 (#291)
Browse files Browse the repository at this point in the history
* minor release v1.3.0

* update license

* fix: lint error
  • Loading branch information
kazupon authored Feb 11, 2022
1 parent c6ccf69 commit b56a11c
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@

## v1.3.0 (2022-02-11)

#### :star: Features
* [#289](https://github.com/intlify/eslint-plugin-vue-i18n/pull/289) Add splitByDots option to key-format-style rule ([@ota-meshi](https://github.com/ota-meshi))
* [#288](https://github.com/intlify/eslint-plugin-vue-i18n/pull/288) Add ignores option to no-unused-keys rule ([@ota-meshi](https://github.com/ota-meshi))
* [#287](https://github.com/intlify/eslint-plugin-vue-i18n/pull/287) Add no-unknown-locale rule ([@ota-meshi](https://github.com/ota-meshi))
* [#286](https://github.com/intlify/eslint-plugin-vue-i18n/pull/286) Add sfc-locale-attr rule ([@ota-meshi](https://github.com/ota-meshi))

#### :pencil: Documentation
* [#274](https://github.com/intlify/eslint-plugin-vue-i18n/pull/274) Fix unordered list formatting in docs ([@FloEdelmann](https://github.com/FloEdelmann))

#### Committers: 2
- Flo Edelmann ([@FloEdelmann](https://github.com/FloEdelmann))
- Yosuke Ota ([@ota-meshi](https://github.com/ota-meshi))


## v1.2.0 (2021-11-18)

#### :star: Features
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Yosuke Ota
Copyright (c) 2019 kazuya kawaguchi

Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
1 change: 0 additions & 1 deletion docs/rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@
|:--------|:------------|:---|
| [@intlify/vue-i18n/<wbr>prefer-linked-key-with-paren](./prefer-linked-key-with-paren.html) | enforce linked key to be enclosed in parentheses | :black_nib: |
| [@intlify/vue-i18n/<wbr>sfc-locale-attr](./sfc-locale-attr.html) | require or disallow the locale attribute on `<i18n>` block | |

5 changes: 5 additions & 0 deletions docs/rules/no-unknown-locale.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: '@intlify/vue-i18n/no-unknown-locale'
description: disallow unknown locale name
since: v1.3.0
---

# @intlify/vue-i18n/no-unknown-locale
Expand Down Expand Up @@ -60,6 +61,10 @@ The rule uses the [is-language-code] package to check if the locale name is comp
- `locales` ... Specify the locale names you want to use specially in an array. The rule excludes the specified name from the check.
- `disableRFC5646` ... If `true`, only the locale names listed in `locales` are allowed.

## :rocket: Version

This rule was introduced in `@intlify/eslint-plugin-vue-i18n` v1.3.0

## :mag: Implementation

- [Rule source](https://github.com/intlify/eslint-plugin-vue-i18n/blob/master/lib/rules/no-unknown-locale.ts)
Expand Down
5 changes: 5 additions & 0 deletions docs/rules/sfc-locale-attr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: '@intlify/vue-i18n/sfc-locale-attr'
description: require or disallow the locale attribute on `<i18n>` block
since: v1.3.0
---

# @intlify/vue-i18n/sfc-locale-attr
Expand Down Expand Up @@ -83,6 +84,10 @@ This rule aims to enforce the `<i18n>` block to use or not the `locale` attribut

</eslint-code-block>

## :rocket: Version

This rule was introduced in `@intlify/eslint-plugin-vue-i18n` v1.3.0

## :mag: Implementation

- [Rule source](https://github.com/intlify/eslint-plugin-vue-i18n/blob/master/lib/rules/sfc-locale-attr.ts)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@intlify/eslint-plugin-vue-i18n",
"description": "ESLint plugin for Vue I18n",
"version": "1.2.0",
"version": "1.3.0",
"author": {
"name": "kazuya kawaguchi",
"email": "[email protected]"
Expand Down

0 comments on commit b56a11c

Please sign in to comment.