mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
Use jsonc to parse babelrc comments in markdown files (#8643) [skip ci]
* [skip ci] use markdown jsonc to parse comments in README files * [skip ci] change json to jsonc type in other markdown files
This commit is contained in:
committed by
Nicolò Ribaudo
parent
16fe544361
commit
bd0de4b2a2
@@ -36,7 +36,7 @@ npm install --save-dev @babel/plugin-codemod-object-assign-to-object-spread
|
||||
|
||||
**.babelrc**
|
||||
|
||||
```json
|
||||
```jsonc
|
||||
{
|
||||
"plugins": ["@babel/plugin-codemod-object-assign-to-object-spread"]
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ npm install --save-dev @babel/plugin-codemod-optional-catch-binding
|
||||
|
||||
**.babelrc**
|
||||
|
||||
```json
|
||||
```jsonc
|
||||
{
|
||||
"plugins": ["@babel/plugin-codemod-optional-catch-binding"]
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ For a more automatic migration, we have updated [babel-upgrade](https://github.c
|
||||
|
||||
If you want the same configuration as before:
|
||||
|
||||
```json
|
||||
```jsonc
|
||||
{
|
||||
"plugins": [
|
||||
// Stage 0
|
||||
|
||||
@@ -8,7 +8,7 @@ For a more automatic migration, we have updated [babel-upgrade](https://github.c
|
||||
|
||||
If you want the same configuration as before:
|
||||
|
||||
```json
|
||||
```jsonc
|
||||
{
|
||||
"plugins": [
|
||||
// Stage 1
|
||||
|
||||
@@ -8,7 +8,7 @@ For a more automatic migration, we have updated [babel-upgrade](https://github.c
|
||||
|
||||
If you want the same configuration as before:
|
||||
|
||||
```json
|
||||
```jsonc
|
||||
{
|
||||
"plugins": [
|
||||
// Stage 2
|
||||
|
||||
Reference in New Issue
Block a user