Commit dac2a9c
committed
fix(linter/no-template-curly-in-string): remove fixer (#15387)
The fixer is just too unreliable here, and it's too easy for it to generate invalid syntax/code.
We don't check to see if the content between the `${` and `}` is valid, if is't not, is causes an invalid syntax tree.1 parent 77b603e commit dac2a9c
File tree
1 file changed
+2
-19
lines changed- crates/oxc_linter/src/rules/eslint
1 file changed
+2
-19
lines changedLines changed: 2 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 62 | + | |
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
| |||
102 | 97 | | |
103 | 98 | | |
104 | 99 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 100 | | |
117 | | - | |
118 | 101 | | |
119 | 102 | | |
0 commit comments