@nrfcloud/tslint-config
Advanced tools
+10
-6
| { | ||
| "name": "@nrfcloud/tslint-config", | ||
| "version": "3.10.0", | ||
| "version": "3.11.0", | ||
| "description": "tslint configuration for our projects", | ||
@@ -8,4 +8,2 @@ "main": "tslint.js", | ||
| "test": "echo \"Error: no test specified\" && exit 1", | ||
| "commitmsg": "commitlint -e", | ||
| "precommit": "npm run lint", | ||
| "lint": "standard" | ||
@@ -37,6 +35,12 @@ }, | ||
| "@commitlint/config-angular": "^8.0.0", | ||
| "husky": "^2.0.0", | ||
| "standard": "^12.0.1" | ||
| "husky": "^3.0.0", | ||
| "standard": "^13.0.1" | ||
| }, | ||
| "dependencies": {} | ||
| "dependencies": {}, | ||
| "husky": { | ||
| "hooks": { | ||
| "commit-msg": "commitlint -e", | ||
| "pre-commit": "npm run lint" | ||
| } | ||
| } | ||
| } |
+11
-11
| module.exports = { | ||
| 'rules': { | ||
| rules: { | ||
| 'arrow-return-shorthand': true, | ||
@@ -7,9 +7,9 @@ 'ban-comma-operator': true, | ||
| 'comment-format': [true, 'check-space'], | ||
| 'curly': true, | ||
| 'eofline': true, | ||
| 'indent': [ | ||
| curly: true, | ||
| eofline: true, | ||
| indent: [ | ||
| true, | ||
| 'spaces' | ||
| ], | ||
| 'only-arrow-functions': true, | ||
| 'prefer-arrow-callback': true, | ||
| 'no-default-export': true, | ||
@@ -27,4 +27,4 @@ 'no-duplicate-variable': true, | ||
| { | ||
| 'multiline': 'always', | ||
| 'singleline': 'never' | ||
| multiline: 'always', | ||
| singleline: 'never' | ||
| } | ||
@@ -46,3 +46,3 @@ ], | ||
| 'prefer-readonly': true, | ||
| 'quotemark': [ | ||
| quotemark: [ | ||
| true, | ||
@@ -52,3 +52,3 @@ 'single', | ||
| ], | ||
| 'semicolon': [ | ||
| semicolon: [ | ||
| true, | ||
@@ -67,3 +67,3 @@ 'always', | ||
| 'index-signature': 'nospace', | ||
| 'parameter': 'nospace', | ||
| parameter: 'nospace', | ||
| 'property-declaration': 'nospace', | ||
@@ -77,3 +77,3 @@ 'variable-declaration': 'nospace' | ||
| ], | ||
| 'whitespace': [ | ||
| whitespace: [ | ||
| true, | ||
@@ -80,0 +80,0 @@ 'check-module', |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5580
0.45%1
Infinity%