Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cknow/tslint-config

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cknow/tslint-config - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

95

package.json

@@ -1,94 +0,1 @@

{
"name": "@cknow/tslint-config",
"version": "3.1.0",
"description": "TSLint shareable config",
"keywords": [
"tslint",
"tslint-config",
"tslint-rules",
"typescript",
"config",
"code",
"quality",
"style",
"lint",
"linter",
"validate",
"code style",
"standard",
"strict",
"check",
"checker",
"verify",
"enforce"
],
"homepage": "https://github.com/cknow/tslint-config",
"bugs": {
"url": "https://github.com/cknow/tslint-config/issues",
"email": "ricardo@clicknow.com.br"
},
"license": "MIT",
"author": {
"name": "Ricardo Gobbo de Souza",
"email": "ricardogobbosouza@yahoo.com.br",
"role": "Developer"
},
"files": [
"index.js",
"rules"
],
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/cknow/tslint-config"
},
"scripts": {
"check-coverage": "nyc check-coverage --global 100",
"commit": "git-cz",
"commitmsg": "validate-commit-msg",
"cover": "nyc --reporter lcov --reporter text ava",
"lint": "eslint index.js rules/ test/",
"posttest": "npm run check-coverage",
"precommit": "npm run lint",
"precover": "rimraf .nyc_output coverage",
"prepush": "npm t",
"pretest": "npm run lint",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "npm run cover",
"watch": "nodemon --exec npm t"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@cknow/eslint-config": "^2.0.0",
"ava": "^0.22.0",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.0",
"commitizen": "^2.9.6",
"coveralls": "^2.13.1",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^4.5.0",
"eslint-plugin-ava": "^4.2.2",
"husky": "^0.14.3",
"nodemon": "^1.11.0",
"nyc": "^11.1.0",
"rimraf": "^2.6.1",
"semantic-release": "^7.0.2",
"tslint": "^5.7.0",
"typescript": "^2.4.2",
"validate-commit-msg": "^2.14.0"
},
"peerDependencies": {
"tslint": ">=5.7.0"
},
"engines": {
"node": ">=4",
"npm": ">=3"
},
"preferGlobal": false,
"private": false
}
{"name":"@cknow/tslint-config","version":"3.2.0","description":"TSLint shareable config","keywords":["tslint","tslint-config","tslint-rules","typescript","config","code","quality","style","lint","linter","validate","code style","standard","strict","check","checker","verify","enforce"],"homepage":"https://github.com/cknow/tslint-config","bugs":{"url":"https://github.com/cknow/tslint-config/issues","email":"ricardo@clicknow.com.br"},"license":"MIT","author":{"name":"Ricardo Gobbo de Souza","email":"ricardogobbosouza@yahoo.com.br","role":"Developer"},"files":["index.js","rules"],"main":"index.js","repository":{"type":"git","url":"https://github.com/cknow/tslint-config"},"scripts":{"check-coverage":"nyc check-coverage --global 100","commit":"git-cz","commitmsg":"validate-commit-msg","cover":"nyc --reporter lcov --reporter text ava","lint":"eslint index.js rules/ test/","posttest":"npm run check-coverage","precommit":"npm run lint","precover":"rimraf .nyc_output coverage","prepush":"npm t","pretest":"npm run lint","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release pre && npm publish && semantic-release post","test":"npm run cover","watch":"nodemon --exec npm t"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"devDependencies":{"@cknow/eslint-config":"^2.2.0","ava":"^0.22.0","babel-core":"^6.26.0","babel-preset-env":"^1.6.0","commitizen":"^2.9.6","coveralls":"^3.0.0","cz-conventional-changelog":"^2.0.0","eslint":"^4.9.0","eslint-plugin-ava":"^4.2.2","husky":"^0.14.3","nodemon":"^1.12.1","nyc":"^11.2.1","rimraf":"^2.6.2","semantic-release":"^8.2.0","tslint":"^5.8.0","typescript":"^2.5.3","validate-commit-msg":"^2.14.0"},"peerDependencies":{"tslint":">=5.8.0"},"engines":{"node":">=4","npm":">=3"},"preferGlobal":false,"private":false}

10

rules/functionality.js

@@ -18,2 +18,3 @@ 'use strict';

'no-duplicate-super': true,
'no-duplicate-switch-case': true,
'no-duplicate-variable': [true, 'check-parameters'],

@@ -24,2 +25,3 @@ 'no-empty': [true, 'allow-empty-catch'],

'no-for-in-array': true,
'no-implicit-dependencies': [true, 'dev'],
'no-inferred-empty-object-type': true,

@@ -31,2 +33,3 @@ 'no-invalid-template-strings': true,

'no-object-literal-type-assertion': true,
'no-return-await': true,
'no-shadowed-variable': [true, {

@@ -49,2 +52,8 @@ class: true,

}],
'no-unnecessary-class': [
true,
'allow-constructor-only',
'allow-empty-class',
'allow-static-only'
],
'no-unbound-method': true,

@@ -66,3 +75,2 @@ 'no-unsafe-any': false,

'triple-equals': true,
'typeof-compare': true,
'use-default-type-parameter': true,

@@ -69,0 +77,0 @@ 'use-isnan': true

@@ -23,5 +23,6 @@ 'use strict';

multiline: 'never',
singleline: 'never'
singleline: 'never',
esSpecCompliant: true
}]
}
};

@@ -6,4 +6,5 @@ 'use strict';

'adjacent-overload-signatures': true,
'ban-comma-operator': true,
'ban-types': false,
'member-access': [true, 'check-accessor', 'check-constructor'],
'member-access': [true, 'check-accessor', 'check-constructor', 'check-parameter-property'],
'member-ordering': [true, {

@@ -43,3 +44,4 @@ order: [

'promise-function-async': true,
'typedef': [true,
'typedef': [
true,
'call-signature',

@@ -46,0 +48,0 @@ 'arrow-call-signature',

@@ -19,3 +19,3 @@ 'use strict';

'interface-over-type-literal': true,
'jsdoc-format': true,
'jsdoc-format': [true, 'check-multiline-start'],
'match-default-export-name': true,

@@ -29,2 +29,3 @@ 'newline-before-return': true,

'no-parameter-properties': false,
'no-redundant-jsdoc': true,
'no-reference-import': true,

@@ -38,3 +39,4 @@ 'no-trailing-whitespace': true,

'object-literal-shorthand': true,
'one-line': [true,
'one-line': [
true,
'check-catch',

@@ -49,3 +51,5 @@ 'check-else',

'import-sources-order': 'case-insensitive',
'named-imports-order': 'case-insensitive'
'grouped-imports': true,
'named-imports-order': 'case-insensitive',
'module-source-path': 'full'
}],

@@ -69,3 +73,4 @@ 'prefer-function-over-method': false,

'type-literal-delimiter': true,
'variable-name': [true,
'variable-name': [
true,
'ban-keywords',

@@ -75,3 +80,4 @@ 'check-format',

],
'whitespace': [true,
'whitespace': [
true,
'check-branch',

@@ -78,0 +84,0 @@ 'check-decl',

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