You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[jsonc/valid-json-number](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/valid-json-number.html)| disallow invalid number for JSON |:wrench:|:star:|:star:||
This ESLint plugin provides linting rules relate to better ways to help you avoid problems when using [JSON], [JSONC] and [JSON5].
18
18
@@ -21,7 +21,7 @@ This ESLint plugin provides linting rules relate to better ways to help you avoi
21
21
22
22
You can check on the [Online DEMO](./playground/).
23
23
24
-
## Why is it ESLint plugin?
24
+
## :question:Why is it ESLint plugin?
25
25
26
26
ESLint is a great linter for JavaScript.
27
27
Since [JSON] is a subset of JavaScript, the same parser and rules can be applied to [JSON].
@@ -32,15 +32,15 @@ Also, [JSONC] and [JSON5], which are variants of [JSON], are more similar to Jav
32
32
This plugin parses `.json` with its own parser, but this parser just converts AST parsed by `espree` (ESLint standard parser) into AST with another name. However, ASTs that do not exist in [JSON] and JSON-superset syntaxes are reported as parsing errors. By converting the AST to another name, we prevent false positives from ESLint core rules.
33
33
Moreover, You can do the same linting using the extended rules of the ESLint core rules provided by this plugin.
34
34
35
-
## Usage
35
+
## :book:Usage
36
36
37
37
See [User Guide](./user-guide/README.md).
38
38
39
-
## Rules
39
+
## :white_check_mark:Rules
40
40
41
41
See [Available Rules](./rules/README.md).
42
42
43
-
## License
43
+
## :lock:License
44
44
45
45
See the [LICENSE](LICENSE) file for license rights and limitations (MIT).
0 commit comments