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
/
string
/
no-interpolation.spec.ts
13 lines
(11 loc)
•
247 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import { tester }
from
'../../spec.ts'
import module
from
'./no-interpolation.ts'
tester.
test
(module, {
valid
: [
'`${test.test()}`'
],
invalid
: [ {
code
:
'`${test.\ntest()}`'
,
errors
: [{
messageId
:
'variable'
}], }, ], })