Releases: mysticatea/eslint-plugin-node
Releases · mysticatea/eslint-plugin-node
v0.5.0
v0.4.1
Bug Fixes:
- Fixed:
shebang
rule had been inserting the shebang to wrong location if there is a header comment. - Fixed: it added tests which check working fine even if
context.getFilename()
returns a relative path.
v0.4.0
Breaking Changes:
- No longer
no-missing-*
rules are checking whether or not import targets are published.
So"publish"
option was removed. (#3) "convertBinPath"
option ofshebang
rule was removed.
Please use new"convertPath"
option.
It's consistent with other rules. (#7)
Updates:
no-unpublished-*
rules were added.
They were split out fromno-missing-*
rules. (#3)shebang
rule got fixable. (#8)"tryExtensions"
option was added tono-missing-*
andno-unpublished-*
. (#14)
As a result, the behavior that checks files with additional extensions was improved.
Thank you @AprilArcus !- We got an ability to use shared settings for rules.
"convertPath"
forno-unpublished-*
andshebang
."tryExtensions"
forno-missing-*
andno-unpublished-*
.
v0.3.0
v0.2.1
v0.2.0
- Added
convertBinPath
option tonode/shebang
.
v0.1.0
The first beta release.
Three rules are added.
- no-missing-import - Disallow invalid
import
andexport
declarations. - no-missing-require - Disallow invalid
require()
s. - shebang - Suggest correct usage of shebang.