Skip to content

Commit

Permalink
docs: updated cjson to jsonc
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadhg McDonald-Jensen committed Sep 21, 2020
1 parent 01d395d commit db1f57a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
Expand Up @@ -25,7 +25,7 @@ This rule accepts one string option:

For example:

```CJSON
```JSONC
{
// Use type for object definitions
"@typescript-eslint/consistent-type-definitions": ["error", "type"]
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/dot-notation.md
Expand Up @@ -7,7 +7,7 @@ It adds support for optionally ignoring computed `private` member access.

## How to use

```cjson
```jsonc
{
// note you must disable the base rule as it can report incorrect errors
"dot-notation": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/init-declarations.md
Expand Up @@ -7,7 +7,7 @@ It adds support for TypeScript's `declare` variables.

## How to use

```cjson
```jsonc
{
// note you must disable the base rule as it can report incorrect errors
"init-declarations": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/keyword-spacing.md
Expand Up @@ -7,7 +7,7 @@ This version adds support for generic type parameters on function calls.

## How to use

```cjson
```jsonc
{
// note you must disable the base rule as it can report incorrect errors
"keyword-spacing": "off",
Expand Down
Expand Up @@ -11,7 +11,7 @@ See the [ESLint documentation](https://eslint.org/docs/rules/lines-between-class

## Rule Changes

```cjson
```jsonc
{
// note you must disable the base rule as it can report incorrect errors
"lines-between-class-members": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/no-invalid-this.md
Expand Up @@ -7,7 +7,7 @@ It adds support for TypeScript's `this` parameters.

## How to use

```cjson
```jsonc
{
// note you must disable the base rule as it can report incorrect errors
"no-invalid-this": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/no-loop-func.md
Expand Up @@ -7,7 +7,7 @@ It adds support for TypeScript types.

## How to use

```cjson
```jsonc
{
// note you must disable the base rule as it can report incorrect errors
"no-loop-func": "off",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin/src/configs/README.md
Expand Up @@ -8,7 +8,7 @@ The `eslint-recommended` ruleset is meant to be used after extending `eslint:rec

This config is automatically included if you use either the `recommended` or `recommended-requiring-type-checking` configs.

```cjson
```jsonc
{
"extends": [
"eslint:recommended",
Expand Down Expand Up @@ -40,7 +40,7 @@ We will not add new rules to the `recommended` set unless we release a major pac

If you disagree with a rule (or it disagrees with your codebase), consider using your local config to change the rule config so it works for your project.

```cjson
```jsonc
{
"extends": ["plugin:@typescript-eslint/recommended"],
"rules": {
Expand Down

0 comments on commit db1f57a

Please sign in to comment.