File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 22 * @license MIT
33 * @author Martin Giger
44 */
5- import fromMap from "./rules/from-map" ;
6- import noUnnecessaryThisArgument from "./rules/no-unnecessary-this-arg" ;
7- import preferArrayFrom from "./rules/prefer-array-from" ;
8- import avoidReverse from "./rules/avoid-reverse" ;
9- import preferFlatMap from "./rules/prefer-flat-map" ;
10- import preferFlat from "./rules/prefer-flat" ;
5+ import fromMap from "./rules/from-map.js " ;
6+ import noUnnecessaryThisArgument from "./rules/no-unnecessary-this-arg.js " ;
7+ import preferArrayFrom from "./rules/prefer-array-from.js " ;
8+ import avoidReverse from "./rules/avoid-reverse.js " ;
9+ import preferFlatMap from "./rules/prefer-flat-map.js " ;
10+ import preferFlat from "./rules/prefer-flat.js " ;
1111
1212const index = {
1313 rules : {
Original file line number Diff line number Diff line change 55import {
66 MEMBER_EXPRESSION ,
77 IDENTIFIER
8- } from "../type" ;
8+ } from "../type.js " ;
99
1010// Helper functions for call expression nodes.
1111
Original file line number Diff line number Diff line change 22 * @license MIT
33 * @author Martin Giger
44 */
5- import { isMethod } from "../lib/helpers/call-expression" ;
5+ import { isMethod } from "../lib/helpers/call-expression.js " ;
66
77const REPLACEMENTS = {
88 reduce : "reduceRight" ,
Original file line number Diff line number Diff line change 22 * @license MIT
33 * @author Martin Giger
44 */
5- import { ARROW_FUNCTION_EXPRESSION } from "../lib/type" ;
5+ import { ARROW_FUNCTION_EXPRESSION } from "../lib/type.js " ;
66
77const ALL_PARAMS = [
88 { name : 'item' } ,
Original file line number Diff line number Diff line change 55import {
66 isMethod ,
77 isOnObject
8- } from "../lib/helpers/call-expression" ;
9- import { ARROW_FUNCTION_EXPRESSION } from "../lib/type" ;
8+ } from "../lib/helpers/call-expression.js " ;
9+ import { ARROW_FUNCTION_EXPRESSION } from "../lib/type.js " ;
1010
1111const arrayFunctions = {
1212 from : 3
You can’t perform that action at this time.
0 commit comments