Skip to content

Commit 034c7ae

Browse files
committed
TINY-11824: make changes as per review
1 parent 06a5e39 commit 034c7ae

File tree

3 files changed

+5
-954
lines changed

3 files changed

+5
-954
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@
77
"repository": "git@github.com:tinymce/eslint-plugin.git",
88
"license": "Apache-2.0",
99
"dependencies": {
10-
"@eslint/eslintrc": "^3.3.0",
1110
"@stylistic/eslint-plugin": "^4.2.0",
12-
"@stylistic/eslint-plugin-ts": "^4.2.0",
1311
"@typescript-eslint/eslint-plugin": "^8.26.1",
1412
"@typescript-eslint/parser": "^8.26.1",
1513
"@typescript-eslint/rule-tester": "^8.26.1",
1614
"@typescript-eslint/utils": "^8.26.1",
1715
"eslint": "^9.22.0",
18-
"eslint-plugin-import": "^2.31.0",
1916
"eslint-plugin-import-x": "^4.8.0",
2017
"eslint-plugin-mocha": "^10.1.0",
2118
"eslint-plugin-prefer-arrow": "^1.2.3",

src/test/rules/NoEnumsInExportSpecifierTest.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ruleTester.run('no-enums-in-export-specifier', noEnumsInExportSpecifier, {
2727
code: `
2828
const NotEnum = true;
2929
export {
30-
NotEnum
30+
NotEnum
3131
};
3232
`
3333
},
@@ -36,7 +36,7 @@ ruleTester.run('no-enums-in-export-specifier', noEnumsInExportSpecifier, {
3636
const isPrototypeOf = 'a';
3737
3838
export {
39-
isPrototypeOf
39+
isPrototypeOf
4040
};
4141
`
4242
}
@@ -47,7 +47,7 @@ ruleTester.run('no-enums-in-export-specifier', noEnumsInExportSpecifier, {
4747
code: `
4848
enum A { A, B, C };
4949
export {
50-
A
50+
A
5151
};
5252
`,
5353
errors: [{ messageId: 'noEnumsInExportSpecifier' }]
@@ -56,7 +56,7 @@ ruleTester.run('no-enums-in-export-specifier', noEnumsInExportSpecifier, {
5656
code: `
5757
const enum B { A, B, C };
5858
export {
59-
B
59+
B
6060
};
6161
`,
6262
errors: [{ messageId: 'noEnumsInExportSpecifier' }]

0 commit comments

Comments
 (0)