UNPKG
@eslint/json
Version:
latest (2.0.1)
2.0.1
2.0.0
1.2.0
1.1.0
1.0.1
1.0.0
0.14.0
0.13.2
0.13.1
0.13.0
0.12.0
0.11.0
0.10.0
0.9.1
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0
JSON linting plugin for ESLint
github.com/eslint/json
eslint/json
@eslint/json
/
dist
/
build
/
recommended-config.js
8 lines
(7 loc)
•
217 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
rules =
/** @type {const} */
({
"json/no-duplicate-keys"
:
"error"
,
"json/no-empty-keys"
:
"error"
,
"json/no-unnormalized-keys"
:
"error"
,
"json/no-unsafe-values"
:
"error"
});
export
default
rules;