Skip to content

Commit 1dd484b

Browse files
regsebfreaktechnik
authored andcommitted
chore: Name the default export 'arrayFunc'
1 parent 4933241 commit 1dd484b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import avoidReverse from "./rules/avoid-reverse.js";
99
import preferFlatMap from "./rules/prefer-flat-map.js";
1010
import preferFlat from "./rules/prefer-flat.js";
1111

12-
const index = {
12+
const arrayFunc = {
1313
meta: {
1414
name: "eslint-plugin-array-func",
1515
version: "5.0.1",
@@ -25,19 +25,19 @@ const index = {
2525
},
2626
configs: {},
2727
};
28-
index.configs.recommended = {
28+
arrayFunc.configs.recommended = {
2929
name: 'array-func/recommended',
30-
plugins: { "array-func": index },
30+
plugins: { "array-func": arrayFunc },
3131
rules: {
3232
"array-func/from-map": "error",
3333
"array-func/no-unnecessary-this-arg": "error",
3434
"array-func/prefer-array-from": "error",
3535
"array-func/avoid-reverse": "error",
3636
},
3737
};
38-
index.configs.all = {
38+
arrayFunc.configs.all = {
3939
name: 'array-func/all',
40-
plugins: { "array-func": index },
40+
plugins: { "array-func": arrayFunc },
4141
rules: {
4242
"array-func/from-map": "error",
4343
"array-func/no-unnecessary-this-arg": "error",
@@ -48,4 +48,4 @@ index.configs.all = {
4848
},
4949
};
5050

51-
export default index;
51+
export default arrayFunc;

0 commit comments

Comments
 (0)