File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/playground/components Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -134,13 +134,6 @@ export default function Configuration({
134134 value : ecmaFeature ,
135135 label : ecmaFeature ,
136136 } ) ) ;
137- const ECMAFeaturesOptionsForTypeScriptParser = ECMA_FEATURES . slice (
138- 0 ,
139- - 1 ,
140- ) . map ( ecmaFeature => ( {
141- value : ecmaFeature ,
142- label : ecmaFeature ,
143- } ) ) ;
144137 const ECMAVersionsOptions = [
145138 defaultOption ,
146139 ...ECMA_VERSIONS . map ( ecmaVersion => ( {
@@ -383,7 +376,7 @@ export default function Configuration({
383376 theme = { theme => customTheme ( theme ) }
384377 options = {
385378 options . languageOptions . parser
386- ? ECMAFeaturesOptionsForTypeScriptParser
379+ ? ECMAFeaturesOptions . slice ( 0 , - 1 )
387380 : ECMAFeaturesOptions
388381 }
389382 onChange = { selectedOptions => {
You can’t perform that action at this time.
0 commit comments