File tree Expand file tree Collapse file tree 11 files changed +108
-7554
lines changed Expand file tree Collapse file tree 11 files changed +108
-7554
lines changed Original file line number Diff line number Diff line change @@ -28,42 +28,20 @@ jobs:
28
28
strategy :
29
29
matrix :
30
30
os : [ubuntu-latest]
31
- node : [18, 20, 22]
31
+ node : [18, 20, 22, 23 ]
32
32
eslint : [9]
33
- svelte : [4 ]
33
+ svelte : [5 ]
34
34
include :
35
- # Svelte v5 rc
35
+ # Svelte v4
36
36
- node : 20
37
37
eslint : 9
38
- svelte : ^5.0.0-0
38
+ svelte : 4
39
39
os : ubuntu-latest
40
40
# Svelte v3
41
41
- node : 18
42
42
eslint : 9
43
43
svelte : 3
44
44
os : ubuntu-latest
45
- # Old ESLint
46
- - node : 20
47
- eslint : 8
48
- svelte : 4
49
- os : ubuntu-latest
50
- - node : 20
51
- eslint : 7
52
- svelte : 4
53
- os : ubuntu-latest
54
- # Old Node.js
55
- - node : 12
56
- eslint : 8
57
- svelte : 3
58
- os : ubuntu-latest
59
- - node : 14
60
- eslint : 8
61
- svelte : 4
62
- os : ubuntu-latest
63
- - node : 16
64
- eslint : 8
65
- svelte : 4
66
- os : ubuntu-latest
67
45
steps :
68
46
- name : Checkout
69
47
uses : actions/checkout@v2
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ This rule encourage i18n in about the application needs to be localized.
18
18
19
19
:-1 : Examples of ** incorrect** code for this rule:
20
20
21
- <eslint-code-block >
22
-
23
21
<!-- eslint-skip -->
24
22
25
23
``` html
@@ -30,12 +28,8 @@ This rule encourage i18n in about the application needs to be localized.
30
28
<p >hello</p >
31
29
```
32
30
33
- </eslint-code-block >
34
-
35
31
:+1 : Examples of ** correct** code for this rule:
36
32
37
- <eslint-code-block >
38
-
39
33
<!-- eslint-skip -->
40
34
41
35
``` html
@@ -46,8 +40,6 @@ This rule encourage i18n in about the application needs to be localized.
46
40
<p >{ $_('hello') }</p >
47
41
```
48
42
49
- </eslint-code-block >
50
-
51
43
## :gear : Options
52
44
53
45
``` json
@@ -81,8 +73,6 @@ This rule encourage i18n in about the application needs to be localized.
81
73
82
74
### ` attributes `
83
75
84
- <eslint-code-block >
85
-
86
76
<!-- eslint-skip -->
87
77
88
78
``` svelte
@@ -94,10 +84,6 @@ This rule encourage i18n in about the application needs to be localized.
94
84
<AnyComponent label="hello" />
95
85
```
96
86
97
- </eslint-code-block >
98
-
99
- <eslint-code-block >
100
-
101
87
<!-- eslint-skip -->
102
88
103
89
``` svelte
@@ -110,8 +96,6 @@ This rule encourage i18n in about the application needs to be localized.
110
96
<OtherComponent label="hello" />
111
97
```
112
98
113
- </eslint-code-block >
114
-
115
99
## :rocket : Version
116
100
117
101
This rule was introduced in ` @intlify/eslint-plugin-svelte ` v0.0.1
You can’t perform that action at this time.
0 commit comments