tslint-config-airbnb
Advanced tools
Comparing version 5.9.2 to 5.10.0
@@ -0,1 +1,21 @@ | ||
<a name="5.10.0"></a> | ||
# [5.10.0](https://github.com/progre/tslint-config-airbnb/compare/5.9.2...5.10.0) (2018-08-18) | ||
### Bug Fixes | ||
* allow-destructuring on no-this-assignment ([d80f2f0](https://github.com/progre/tslint-config-airbnb/commit/d80f2f0)), closes [#47](https://github.com/progre/tslint-config-airbnb/issues/47) | ||
### Features | ||
* update dependencies ([0cd45bf](https://github.com/progre/tslint-config-airbnb/commit/0cd45bf)), closes [#52](https://github.com/progre/tslint-config-airbnb/issues/52) [#53](https://github.com/progre/tslint-config-airbnb/issues/53) | ||
and some PRs | ||
* https://github.com/progre/tslint-config-airbnb/pull/40 | ||
* https://github.com/progre/tslint-config-airbnb/pull/41 | ||
* https://github.com/progre/tslint-config-airbnb/pull/42 | ||
* https://github.com/progre/tslint-config-airbnb/pull/48 | ||
<a name="5.9.0"></a> | ||
@@ -2,0 +22,0 @@ # [5.9.0](https://github.com/progre/tslint-config-airbnb/compare/5.8.0...5.9.0) (2018-05-19) |
@@ -1,1 +0,1 @@ | ||
module.exports = {extends: ['@commitlint/config-angular']}; | ||
module.exports = { extends: ['@commitlint/config-conventional'] } |
{ | ||
"name": "tslint-config-airbnb", | ||
"description": "A TSLint config for Airbnb JavaScript Style", | ||
"version": "5.9.2", | ||
"version": "5.10.0", | ||
"author": "progre", | ||
@@ -10,11 +10,13 @@ "bugs": { | ||
"dependencies": { | ||
"tslint-consistent-codestyle": "^1.10.0", | ||
"tslint-eslint-rules": "^5.3.1", | ||
"tslint-microsoft-contrib": "~5.0.1" | ||
"tslint-consistent-codestyle": "^1.13.3", | ||
"tslint-eslint-rules": "^5.4.0", | ||
"tslint-microsoft-contrib": "~5.2.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^4.3.0", | ||
"@commitlint/config-angular": "^4.3.0", | ||
"@commitlint/cli": "^7.0.0", | ||
"@commitlint/config-conventional": "^7.0.1", | ||
"conventional-changelog-cli": "^1.3.5", | ||
"husky": "^0.14.3" | ||
"husky": "^0.14.3", | ||
"tslint": "^5.11.0", | ||
"typescript": "^3.0.1" | ||
}, | ||
@@ -30,3 +32,3 @@ "homepage": "https://github.com/progre/tslint-config-airbnb/#readme", | ||
"peerDependencies": { | ||
"tslint": "^5.5.0" | ||
"tslint": "^5.8.0" | ||
}, | ||
@@ -36,4 +38,4 @@ "repository": "github:progre/tslint-config-airbnb", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"commitmsg": "commitlint -e $GIT_PARAMS" | ||
"commitmsg": "commitlint -E GIT_PARAMS" | ||
} | ||
} | ||
} |
@@ -6,3 +6,3 @@ # TSLint Config Airbnb | ||
> A [TSLint config](https://palantir.github.io/tslint/usage/tslint-json/) for [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript) | ||
> A [TSLint config](https://palantir.github.io/tslint/usage/configuration/) for [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript) | ||
@@ -12,3 +12,3 @@ ## Installation | ||
```sh | ||
npm install tslint-config-airbnb --save | ||
npm install tslint-config-airbnb --save-dev | ||
``` | ||
@@ -15,0 +15,0 @@ |
@@ -9,3 +9,3 @@ const path = require('path'); | ||
], | ||
rules: { // based on https://github.com/airbnb/javascript/tree/edf942eeb6bee3ae538e1484861ea0721fad4856 | ||
rules: { // based on https://github.com/airbnb/javascript/tree/74fb34f08d4f1961169e9c37c9036a5b42aa7bf1 | ||
'prefer-const': true, // 2.1, 13.1 | ||
@@ -47,2 +47,3 @@ 'no-var-keyword': true, // 2.2 | ||
'no-increment-decrement': true, // 13.6 | ||
"no-unused-variable": true, // 13.8 | ||
'triple-equals': [true, 'allow-null-check'], // 15.1 | ||
@@ -87,2 +88,3 @@ 'no-boolean-literal-compare': true, // 15.3 | ||
singleline: 'never', | ||
esSpecCompliant: true, | ||
}, | ||
@@ -104,5 +106,5 @@ ], // 20.2 | ||
'variable-name': [true, 'check-format'], // 23.2 | ||
'no-this-assignment': true, // 23.5 | ||
'no-this-assignment': [true, 'allow-destructuring'], // 23.5 | ||
'import-name': true, // 23.6 | ||
}, | ||
}; |
105
9096
6
6
+ Addedtslint-microsoft-contrib@5.2.1(transitive)
+ Addedtsutils@2.28.0(transitive)
- Removedtslint-microsoft-contrib@5.0.3(transitive)
- Removedtypescript@2.9.2(transitive)
Updatedtslint-eslint-rules@^5.4.0