Skip to content

Commit

Permalink
Reenable linting of json
Browse files Browse the repository at this point in the history
  • Loading branch information
varney committed Jul 27, 2023
1 parent 6006679 commit 41b4542
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"root": true,
"extends": [ "exp" ]
"root": true,
"extends": [
"exp"
],
"plugins": [
"json"
]
}
61 changes: 59 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lu-common",
"version": "3.7.3",
"version": "3.7.4",
"description": "",
"main": "index.js",
"engines": {
Expand All @@ -10,7 +10,7 @@
"scripts": {
"mocha": "mocha",
"lint": "eslint .",
"test": "mocha --exit --reporter ${REPORTER:-spec} && eslint . --ext .js --cache && depcheck --ignores=\"prettier\"",
"test": "mocha --exit --reporter ${REPORTER:-spec} && eslint . --ext .js,.json --cache && depcheck --ignores=\"prettier\"",
"format": "prettier **/*.js --write && eslint . --fix",
"coverage": "c8 npm test",
"check-coverage": "c8 check-coverage"
Expand Down Expand Up @@ -43,6 +43,7 @@
"depcheck": "^1.4.0",
"eslint": "^8.45.0",
"eslint-config-exp": "^0.6.2",
"eslint-plugin-json": "^3.1.0",
"mocha": "^10.2.0",
"mocha-cakes-2": "^3.3.0",
"prettier": "^3.0.0",
Expand Down

0 comments on commit 41b4542

Please sign in to comment.