Skip to content

Commit

Permalink
Initial Commit - Setting up
Browse files Browse the repository at this point in the history
  • Loading branch information
ezenity committed Dec 7, 2023
1 parent 6a55fa2 commit 636ac67
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "./rules/json-ruleset.yaml",
"type": "module",
"scripts": {
"test": "./node_modules/.bin/eslint **/*.js test/ && ./node_modules/.bin/mocha test/*.test.js",
"test": "eslint **/*.js test/ && mocha test/*.test.js",
"lint": "./node_modules/.bin/eslint **/*.js test/",
"prepare": "husky install"
},
Expand Down
3 changes: 3 additions & 0 deletions rules/jsonapi-document-structure-resource-object.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Document Structure - Resource Objects - https://jsonapi.org/format/#document-resource-objects

// All rules in the file MUST have corresponding tests
1 change: 1 addition & 0 deletions rules/jsonapi-document-structure-ruleset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ extends:
- jsonapi-document-structure-meta-information.js
- jsonapi-document-structure-links.js
- jsonapi-document-structure-jsonapi-object.js
- jsonapi-document-structure-resource-object.js
Empty file.

0 comments on commit 636ac67

Please sign in to comment.