eslint-plugin-sort-imports-es6-autofix
Advanced tools
Comparing version 0.1.1 to 0.2.0
{ | ||
"name": "eslint-plugin-sort-imports-es6-autofix", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "A sort-imports rule that properly distinguishes between ES6 import types.", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"babel-eslint": "^7.1.1", | ||
"babel-eslint": "^8.2.1", | ||
"mocha": "^3.2.0" | ||
@@ -29,4 +29,4 @@ }, | ||
"dependencies": { | ||
"eslint": "^3.15.0" | ||
"eslint": "^4.15.0" | ||
} | ||
} |
@@ -147,5 +147,5 @@ /** | ||
const currentMemberSyntaxGroupIndex = getMemberParameterGroupIndex(b[0]), | ||
currentMemberIsType = b[0].importKind && b[0].importKind === 'type', | ||
currentMemberIsType = (b[0].importKind && b[0].importKind === 'type') || false, | ||
previousMemberSyntaxGroupIndex = getMemberParameterGroupIndex(a[0]), | ||
previousMemberIsType = a[0].importKind && a[0].importKind === 'type'; | ||
previousMemberIsType = (a[0].importKind && a[0].importKind === 'type') || false; | ||
let currentLocalMemberName = getFirstLocalMemberName(b[0]), | ||
@@ -179,5 +179,5 @@ previousLocalMemberName = getFirstLocalMemberName(a[0]); | ||
const currentMemberSyntaxGroupIndex = getMemberParameterGroupIndex(node), | ||
currentMemberIsType = node.importKind && node.importKind === 'type', | ||
currentMemberIsType = (node.importKind && node.importKind === 'type') || false, | ||
previousMemberSyntaxGroupIndex = getMemberParameterGroupIndex(previousDeclaration), | ||
previousMemberIsType = previousDeclaration.importKind && previousDeclaration.importKind === 'type'; | ||
previousMemberIsType = (previousDeclaration.importKind && previousDeclaration.importKind === 'type') || false; | ||
let currentLocalMemberName = getFirstLocalMemberName(node), | ||
@@ -190,2 +190,3 @@ previousLocalMemberName = getFirstLocalMemberName(previousDeclaration); | ||
} | ||
@@ -192,0 +193,0 @@ // When the current declaration uses a different member syntax, |
16707
+ Addedajv@5.5.2(transitive)
+ Addedajv-keywords@2.1.1(transitive)
+ Addedansi-escapes@3.2.0(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedchardet@0.4.2(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcross-spawn@5.1.0(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addedeslint@4.19.1(transitive)
+ Addedeslint-scope@3.7.3(transitive)
+ Addedeslint-visitor-keys@1.3.0(transitive)
+ Addedexternal-editor@2.2.0(transitive)
+ Addedfast-deep-equal@1.1.0(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfigures@2.0.0(transitive)
+ Addedfunctional-red-black-tree@1.0.1(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinquirer@3.3.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjson-schema-traverse@0.3.1(transitive)
+ Addedjson-stable-stringify-without-jsonify@1.0.1(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedmute-stream@0.0.7(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpluralize@7.0.0(transitive)
+ Addedprogress@2.0.3(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedregexpp@1.1.0(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrx-lite@4.0.8(transitive)
+ Addedrx-lite-aggregates@4.0.8(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedslice-ansi@1.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedtable@4.0.2(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedyallist@2.1.2(transitive)
- Removedajv@4.11.8(transitive)
- Removedajv-keywords@1.5.1(transitive)
- Removedansi-escapes@1.4.0(transitive)
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcli-cursor@1.0.2(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedd@1.0.2(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-map@0.1.5(transitive)
- Removedes6-set@0.1.6(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedes6-weak-map@2.0.3(transitive)
- Removedescope@3.6.0(transitive)
- Removedeslint@3.19.0(transitive)
- Removedesniff@2.0.1(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedexit-hook@1.1.1(transitive)
- Removedext@1.7.0(transitive)
- Removedfigures@1.7.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedgenerate-function@2.3.1(transitive)
- Removedgenerate-object-property@1.2.0(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedglobals@9.18.0(transitive)
- Removedgopd@1.2.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinquirer@0.12.0(transitive)
- Removedinterpret@1.4.0(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedis-my-ip-valid@1.0.1(transitive)
- Removedis-my-json-valid@2.20.6(transitive)
- Removedis-property@1.0.2(transitive)
- Removedisarray@2.0.5(transitive)
- Removedjson-stable-stringify@1.2.1(transitive)
- Removedjsonify@0.0.1(transitive)
- Removedjsonpointer@5.0.1(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedms@2.0.0(transitive)
- Removedmute-stream@0.0.5(transitive)
- Removednext-tick@1.1.0(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedonetime@1.1.0(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpluralize@1.2.1(transitive)
- Removedprogress@1.1.8(transitive)
- Removedreadline2@1.0.1(transitive)
- Removedrechoir@0.6.2(transitive)
- Removedresolve@1.22.10(transitive)
- Removedrestore-cursor@1.0.1(transitive)
- Removedrun-async@0.1.0(transitive)
- Removedrx-lite@3.1.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedshelljs@0.7.8(transitive)
- Removedslice-ansi@0.0.4(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtable@3.8.3(transitive)
- Removedtype@2.7.3(transitive)
- Removeduser-home@2.0.0(transitive)
- Removedxtend@4.0.2(transitive)
Updatedeslint@^4.15.0