Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 5, 2021
1 parent 59d482e commit 930ee12
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/rules/no-binary-expression.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "jsonc/no-binary-expression"
description: "disallow binary expression"
since: "v2.0.0"
---
# jsonc/no-binary-expression

> disallow binary expression
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- :gear: This rule is included in all of `"plugin:jsonc/recommended-with-json"`, `"plugin:jsonc/recommended-with-json5"` and `"plugin:jsonc/recommended-with-jsonc"`.
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.

Expand Down Expand Up @@ -37,6 +37,10 @@ This rule disallow binary expressions.

Nothing.

## :rocket: Version

This rule was introduced in eslint-plugin-jsonc v2.0.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/lib/rules/no-binary-expression.ts)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-parenthesized.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "jsonc/no-parenthesized"
description: "disallow parentheses around the expression"
since: "v2.0.0"
---
# jsonc/no-parenthesized

> disallow parentheses around the expression
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- :gear: This rule is included in all of `"plugin:jsonc/recommended-with-json"`, `"plugin:jsonc/recommended-with-json5"` and `"plugin:jsonc/recommended-with-jsonc"`.
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.

Expand Down Expand Up @@ -37,6 +37,10 @@ This rule always disallow parentheses around the expression.

Nothing.

## :rocket: Version

This rule was introduced in eslint-plugin-jsonc v2.0.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/lib/rules/no-parenthesized.ts)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-jsonc",
"version": "1.7.0",
"version": "2.0.0",
"description": "ESLint plugin for JSON, JSONC and JSON5 files.",
"main": "dist/index.js",
"typescript": {
Expand Down

0 comments on commit 930ee12

Please sign in to comment.