eslint-plugin-smarthr 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/rules/redundant-name/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.2.13](https://github.com/kufu/eslint-plugin-smarthr/compare/v0.2.12...v0.2.13) (2022-12-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* redundant-nameのarrowedNameなどで利用するファイルパスが削られすぎていたため、指定が行いにくい問題を修正する ([4d45281](https://github.com/kufu/eslint-plugin-smarthr/commit/4d45281c383a9996437f3603dd954548f428cd19))
|
|
11
|
+
|
|
5
12
|
### [0.2.12](https://github.com/kufu/eslint-plugin-smarthr/compare/v0.2.11...v0.2.12) (2022-12-07)
|
|
6
13
|
|
|
7
14
|
|
package/package.json
CHANGED
|
@@ -421,7 +421,7 @@ module.exports = {
|
|
|
421
421
|
const keywords = keywordMatcher[1].split('/')
|
|
422
422
|
keywords[keywords.length - 1] = keywords[keywords.length - 1].split('.')[0]
|
|
423
423
|
|
|
424
|
-
filename = keywords.join('/')
|
|
424
|
+
filename = `${rootPath}/${keywords.join('/')}`
|
|
425
425
|
|
|
426
426
|
if (keywords[keywords.length - 1] === 'index') {
|
|
427
427
|
keywords.pop()
|