v2.1.0
-
Allow disabling treating native NodeJS modules as dependencies.
Set
disable-native-nodejs-modules
on a given matching rule to activate. -
Fix handling leading import declaration comments. They will no longer be duplicated when using the
auto-fix. -
Performance improvements.
Node positions will no longer be recalculated upon encountering new nodes.
-
Support for reading dependencies and devDependencies from
package.json
instead of reading the
contents ofnode_modules
. This is configured by settingfrom-package.json
on a specific
matching-rule.