New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tslint-config-vtex

Package Overview
Dependencies
Maintainers
16
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-config-vtex - npm Package Compare versions

Comparing version 1.3.2 to 2.0.0

yarn.lock

6

package.json
{
"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": {

{
"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/**/*"]
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc