UNPKG
@masknet/eslint-plugin
Version:
latest (0.4.1)
0.4.1
0.4.0
0.3.0
0.2.0
0.1.3
0.1.2
eslint plugin for masknet
dimensiondev.github.io/eslint-plugin
DimensionDev/eslint-plugin
@masknet/eslint-plugin
/
src
/
rules
/
no-for-in.spec.ts
12 lines
(10 loc)
•
213 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ tester }
from
'../spec.ts'
import
module
from
'./no-for-in.ts'
tester.
test
(
module
, {
invalid
: [ {
code
:
'for (element in object) {}'
,
errors
: [{
messageId
:
'invalid'
}], }, ], })