eslint-plugin-flowtype
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -9,2 +9,3 @@ # Contributing | ||
* test and documentation checks | ||
* tests | ||
@@ -24,7 +25,7 @@ * lint | ||
The prefix is used to bump the correct segment of the version number automatically during deploy. | ||
The prefix is used to bump the correct segment of the version number during the automatic release. | ||
## Tests | ||
Run them with `npm t`. | ||
Run them with `npm test`. | ||
@@ -54,2 +55,2 @@ ## Lint | ||
Note: The section "The following patterns are considered problems:" and "The following patterns are not considered problems:" is **generated automatically** using the test cases. | ||
Note: Sections "The following patterns are considered problems:" and "The following patterns are not considered problems:" are **generated automatically** using the test cases. |
@@ -32,2 +32,8 @@ { | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify", | ||
"pre-commit": "npm run check-docs && npm run check-tests && npm run lint && npm run test && npm run build && npm run format-json" | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -44,8 +50,2 @@ "eslint", | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify", | ||
"pre-commit": "npm run lint && npm run test && npm run build && npm run format-json" | ||
} | ||
}, | ||
"repository": { | ||
@@ -57,4 +57,6 @@ "type": "git", | ||
"build": "rm -fr ./dist && babel ./src --out-dir ./dist --copy-files", | ||
"check-docs": "babel-node ./src/bin/checkDocs", | ||
"check-tests": "babel-node ./src/bin/checkTests", | ||
"create-readme": "gitdown ./.README/README.md --output-file ./README.md && npm run documentation-add-assertions", | ||
"documentation-add-assertions": "babel-node ./bin/readmeAssertions", | ||
"documentation-add-assertions": "babel-node ./src/bin/addAssertions", | ||
"format-json": "jsonlint --sort-keys --in-place --indent ' ' ./src/configs/recommended.json && echo '' >> ./src/configs/recommended.json", | ||
@@ -64,3 +66,3 @@ "lint": "eslint ./src ./tests", | ||
}, | ||
"version": "3.1.1" | ||
"version": "3.1.2" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235214
66
3029
4766
5