Skip to content

Commit a46aba4

Browse files
authored
fix json with comments in readme (#19)
1 parent ed6d62e commit a46aba4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ We recommend linting by running `eslint` without `--ext` option. What files are
2929
All files included (or not ignored) by the ESLint config (`.eslintrc.json`) must be included by the TypeScript config (`tsconfig.json`).
3030
For example, if this is your `.eslintrc.json`:
3131

32-
```json
32+
```jsonc
3333
{
3434
// ...remaining config
3535
"ignorePatterns": ["node_modules", "dist"]
@@ -38,7 +38,7 @@ For example, if this is your `.eslintrc.json`:
3838

3939
You may include the following files inside your `tsconfig.json`:
4040

41-
```json
41+
```jsonc
4242
{
4343
// ...remaining config
4444
"exclude": ["node_modules", "dist"],
@@ -49,7 +49,7 @@ You may include the following files inside your `tsconfig.json`:
4949
Should you have files that you want to be linted, but not inside your `tsconfig.json`, you can create a `tsconfig.eslint.json` file.
5050
Then change `.eslintrc.json` to be:
5151

52-
```json
52+
```jsonc
5353
{
5454
// ...omitted
5555
"parserOptions": {
@@ -165,7 +165,7 @@ npm i -D eslint prettier @typescript-eslint/eslint-plugin eslint-plugin-prettier
165165

166166
`.eslintrc.json`
167167

168-
```json
168+
```jsonc
169169
{
170170
"extends": "@aboutbits/eslint-config/ts",
171171
"parserOptions": {

0 commit comments

Comments
 (0)