From f83ae4714176ef69fcd39da565b2658c3e480743 Mon Sep 17 00:00:00 2001 From: Lukas Weiss Date: Thu, 14 Aug 2025 10:56:27 +0200 Subject: [PATCH] fix json with comments in readme --- readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 19bf8db..27d6e28 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,7 @@ We recommend linting by running `eslint` without `--ext` option. What files are All files included (or not ignored) by the ESLint config (`.eslintrc.json`) must be included by the TypeScript config (`tsconfig.json`). For example, if this is your `.eslintrc.json`: -```json +```jsonc { // ...remaining config "ignorePatterns": ["node_modules", "dist"] @@ -38,7 +38,7 @@ For example, if this is your `.eslintrc.json`: You may include the following files inside your `tsconfig.json`: -```json +```jsonc { // ...remaining config "exclude": ["node_modules", "dist"], @@ -49,7 +49,7 @@ You may include the following files inside your `tsconfig.json`: Should you have files that you want to be linted, but not inside your `tsconfig.json`, you can create a `tsconfig.eslint.json` file. Then change `.eslintrc.json` to be: -```json +```jsonc { // ...omitted "parserOptions": { @@ -165,7 +165,7 @@ npm i -D eslint prettier @typescript-eslint/eslint-plugin eslint-plugin-prettier `.eslintrc.json` -```json +```jsonc { "extends": "@aboutbits/eslint-config/ts", "parserOptions": {