tslint-config-vtex
Advanced tools
Comparing version 1.3.2 to 2.0.0
{ | ||
"name": "tslint-config-vtex", | ||
"version": "1.3.2", | ||
"version": "2.0.0", | ||
"description": "VTEX's tslint config", | ||
"main": "tslint.json", | ||
"peerDependencies": { | ||
"dependencies": { | ||
"tslint-config-prettier": "^1.6.0", | ||
"tslint-eslint-rules": "^4.1.1" | ||
@@ -18,3 +19,2 @@ }, | ||
], | ||
"author": "Thor Amorim", | ||
"license": "MIT", | ||
@@ -21,0 +21,0 @@ "bugs": { |
100
tslint.json
{ | ||
"rulesDirectory": ["../tslint-eslint-rules/dist/rules"], | ||
"extends": [ | ||
"tslint:recommended", | ||
"tslint-eslint-rules", | ||
"tslint-config-prettier" | ||
], | ||
"rules": { | ||
"no-use-before-declare": true, | ||
"class-name": true, | ||
"typedef-whitespace": [ | ||
true, | ||
{ | ||
"parameter": "nospace", | ||
"call-signature": "nospace", | ||
"index-signature": "nospace", | ||
"property-declaration": "nospace", | ||
"variable-declaration": "nospace" | ||
}, | ||
{ | ||
"parameter": "onespace", | ||
"call-signature": "onespace", | ||
"index-signature": "onespace", | ||
"property-declaration": "onespace", | ||
"variable-declaration": "onespace" | ||
} | ||
], | ||
"no-shadowed-variable": true, | ||
"no-var-keyword": true, | ||
"radix": true, | ||
"prefer-const": true, | ||
"object-literal-key-quotes": [true, "as-needed"], | ||
"prefer-method-signature": true, | ||
"no-misused-new": true, | ||
"import-spacing": true, | ||
"object-literal-shorthand": true, | ||
"whitespace": [ | ||
true, | ||
"check-type", | ||
"check-decl", | ||
"check-branch", | ||
"check-operator", | ||
"check-preblock", | ||
"check-separator" | ||
], | ||
"space-before-function-paren": [true, "always"], | ||
"ter-arrow-spacing": [true, { "before": true, "after": true }], | ||
"block-spacing": [true, "always"], | ||
"brace-style": [true, "1tbs", { "allowSingleLine": true }], | ||
"variable-name": [ | ||
true, | ||
"check-format", | ||
"allow-pascal-case", | ||
"allow-leading-underscore", | ||
"allow-trailing-underscore" | ||
], | ||
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}], | ||
"curly": true, | ||
"eofline": true, | ||
"triple-equals": true, | ||
"handle-callback-err": [true, "^(err|error)$"], | ||
"ter-indent": [true, 2, { "SwitchCase": 1 }], | ||
"new-parens": true, | ||
"no-arg": true, | ||
"no-conditional-assignment": true, | ||
"no-control-regex": true, | ||
"no-duplicate-case": true, | ||
"no-empty-character-class": true, | ||
"no-eval": true, | ||
"no-ex-assign": true, | ||
"no-extra-boolean-cast": true, | ||
"no-switch-case-fall-through": true, | ||
"no-inner-declarations": [true, "functions"], | ||
"no-invalid-regexp": true, | ||
"ter-no-irregular-whitespace": true, | ||
"label-position": true, | ||
"indent": [true, "spaces"], | ||
"no-multi-spaces": true, | ||
"no-consecutive-blank-lines": [true, 1], | ||
"no-construct": true, | ||
"no-duplicate-variable": true, | ||
"no-regex-spaces": true, | ||
"ter-no-sparse-arrays": true, | ||
"no-string-throw": true, | ||
"no-trailing-whitespace": true, | ||
"no-unexpected-multiline": true, | ||
"no-unsafe-finally": true, | ||
"one-variable-per-declaration": [true], | ||
"quotemark": [true, "single", "avoid-escape"], | ||
"quotemark": [true, "single", "jsx-double"], | ||
"semicolon": [true, "never"], | ||
"comment-format": [true, "check-space"], | ||
"use-isnan": true, | ||
"valid-typeof": true, | ||
"no-unused-variable": [true] | ||
"no-console": false, | ||
"interface-name": false | ||
}, | ||
"linterOptions": { | ||
"comment": "Exclude sibling node_modules automatically", | ||
"exclude": ["../../node_modules/**/*"] | ||
} | ||
} | ||
} |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
6
4237
2
16
2
1
+ Addedtslint-eslint-rules@^4.1.1
+ Addedtslint-config-prettier@1.18.0(transitive)