@typescript-eslint/eslint-plugin-tslint
Advanced tools
Comparing version 0.2.1-alpha.2 to 0.2.1
@@ -6,87 +6,4 @@ # Change Log | ||
# [0.2.0](https://github.com/typescript-eslint/typescript-eslint/compare/v0.1.0...v0.2.0) (2019-01-19) | ||
## [0.2.1](https://github.com/typescript-eslint/typescript-eslint/compare/v0.2.0...v0.2.1) (2019-01-20) | ||
### Bug Fixes | ||
* fake fix ([95fca76](https://github.com/typescript-eslint/typescript-eslint/commit/95fca76)) | ||
# [0.1.0](https://github.com/typescript-eslint/typescript-eslint/compare/v0.0.1-alpha.0...v0.1.0) (2019-01-19) | ||
**Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint | ||
## 0.0.1-alpha.0 (2019-01-19) | ||
### Bug Fixes | ||
* **package.json:** Add files to include lib in package ([5457735](https://github.com/typescript-eslint/typescript-eslint/commit/5457735)) | ||
* **package.json:** Run build during semantic-release ([bd6a442](https://github.com/typescript-eslint/typescript-eslint/commit/bd6a442)) | ||
* Fixed bug when file not defined in tsconfig ([2cd2a22](https://github.com/typescript-eslint/typescript-eslint/commit/2cd2a22)) | ||
* Pass sourceText parameter to service getSource ([1b3f9ed](https://github.com/typescript-eslint/typescript-eslint/commit/1b3f9ed)) | ||
* Tiny lint note elimination ([699142f](https://github.com/typescript-eslint/typescript-eslint/commit/699142f)) | ||
* Update program when sourceFile was updated ([1c14cb8](https://github.com/typescript-eslint/typescript-eslint/commit/1c14cb8)) | ||
* Updated typescript-service dependency ([cab2bd5](https://github.com/typescript-eslint/typescript-eslint/commit/cab2bd5)) | ||
* **plugin-tslint:** remove unsupported options ([494e247](https://github.com/typescript-eslint/typescript-eslint/commit/494e247)) | ||
### Code Refactoring | ||
* **src:** Refactor the plugin to use TSLint 5 ([#4](https://github.com/typescript-eslint/typescript-eslint/issues/4)) ([519001f](https://github.com/typescript-eslint/typescript-eslint/commit/519001f)), closes [#3](https://github.com/typescript-eslint/typescript-eslint/issues/3) | ||
### Features | ||
* **core:** Added support rules requires type information ([f8a2291](https://github.com/typescript-eslint/typescript-eslint/commit/f8a2291)), closes [#32](https://github.com/typescript-eslint/typescript-eslint/issues/32) [#34](https://github.com/typescript-eslint/typescript-eslint/issues/34) | ||
* **failure message:** Reference TSLint rule that failed ([#5](https://github.com/typescript-eslint/typescript-eslint/issues/5)) ([085d345](https://github.com/typescript-eslint/typescript-eslint/commit/085d345)), closes [#2](https://github.com/typescript-eslint/typescript-eslint/issues/2) | ||
* **index:** Initial release ([321c9a0](https://github.com/typescript-eslint/typescript-eslint/commit/321c9a0)) | ||
* Post merge adapdation from tslint2 repository ([dc31589](https://github.com/typescript-eslint/typescript-eslint/commit/dc31589)), closes [#32](https://github.com/typescript-eslint/typescript-eslint/issues/32) [#34](https://github.com/typescript-eslint/typescript-eslint/issues/34) | ||
* Support for tslint property ([2e6776e](https://github.com/typescript-eslint/typescript-eslint/commit/2e6776e)), closes [#40](https://github.com/typescript-eslint/typescript-eslint/issues/40) | ||
* **plugin-tslint:** remove service, use parserServices ([f54d5cb](https://github.com/typescript-eslint/typescript-eslint/commit/f54d5cb)) | ||
* **plugin-tslint:** updates for monorepo ([9fa85a5](https://github.com/typescript-eslint/typescript-eslint/commit/9fa85a5)) | ||
### BREAKING CHANGES | ||
* New dependency | ||
* **src:** This plugin now requires TSLint 5, and the user must now separately install and manage their own TSLint dependency | ||
# [3.1.0](https://github.com/JamesHenry/eslint-plugin-tslint/compare/v3.0.0...v3.1.0) (2018-10-19) | ||
### Bug Fixes | ||
- Tiny lint note elimination ([a731838](https://github.com/JamesHenry/eslint-plugin-tslint/commit/a731838)) | ||
### Features | ||
- Support for tslint property ([18a4afb](https://github.com/JamesHenry/eslint-plugin-tslint/commit/18a4afb)), closes [#40](https://github.com/JamesHenry/eslint-plugin-tslint/issues/40) | ||
# [3.0.0](https://github.com/JamesHenry/eslint-plugin-tslint/compare/v2.1.0...v3.0.0) (2018-09-09) | ||
### Bug Fixes | ||
- Fixed bug when file not defined in tsconfig ([20b498b](https://github.com/JamesHenry/eslint-plugin-tslint/commit/20b498b)) | ||
- Pass sourceText parameter to service getSource ([dd4c2f8](https://github.com/JamesHenry/eslint-plugin-tslint/commit/dd4c2f8)) | ||
- Update program when sourceFile was updated ([0fe933c](https://github.com/JamesHenry/eslint-plugin-tslint/commit/0fe933c)) | ||
- Updated typescript-service dependency ([2f4f434](https://github.com/JamesHenry/eslint-plugin-tslint/commit/2f4f434)) | ||
### Features | ||
- **core:** Added support rules requires type information ([6bc1deb](https://github.com/JamesHenry/eslint-plugin-tslint/commit/6bc1deb)), closes [#32](https://github.com/JamesHenry/eslint-plugin-tslint/issues/32) [#34](https://github.com/JamesHenry/eslint-plugin-tslint/issues/34) | ||
- Post merge adapdation from tslint2 repository ([477c656](https://github.com/JamesHenry/eslint-plugin-tslint/commit/477c656)), closes [#32](https://github.com/JamesHenry/eslint-plugin-tslint/issues/32) [#34](https://github.com/JamesHenry/eslint-plugin-tslint/issues/34) | ||
### BREAKING CHANGES | ||
- New dependency |
@@ -63,6 +63,6 @@ "use strict"; | ||
* The user needs to have configured "project" in their parserOptions | ||
* for typescript-eslint-parser | ||
* for @typescript-eslint/parser | ||
*/ | ||
if (!parserServices || !parserServices.program) { | ||
throw new Error(`You must provide a value for the "parserOptions.project" property for typescript-eslint-parser`); | ||
throw new Error(`You must provide a value for the "parserOptions.project" property for @typescript-eslint/parser`); | ||
} | ||
@@ -69,0 +69,0 @@ /** |
{ | ||
"name": "@typescript-eslint/eslint-plugin-tslint", | ||
"version": "0.2.1-alpha.2+0a83c98", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"version": "0.2.1", | ||
"main": "dist/index.js", | ||
@@ -39,6 +36,5 @@ "typings": "src/index.ts", | ||
"@types/lodash.memoize": "^4.1.4", | ||
"tslint": "^5.11.0", | ||
"typescript-eslint-parser": "21.0.2" | ||
"@typescript-eslint/parser": "0.2.1" | ||
}, | ||
"gitHead": "0a83c9885db89945a26f484e1b98b40a386f1a68" | ||
"gitHead": "5ab031a48295daed37336597693863f80ef5d071" | ||
} |
# ESLint Plugin TSLint | ||
[](https://travis-ci.org/JamesHenry/eslint-plugin-tslint) | ||
[](https://github.com/JamesHenry/eslint-plugin-tslint/blob/master/LICENSE) | ||
[](https://www.npmjs.com/package/eslint-plugin-tslint) | ||
[](https://www.npmjs.com/package/eslint-plugin-tslint) | ||
[](https://travis-ci.org/@typescript-eslint/eslint-plugin-tslint) | ||
[](https://github.com/@typescript-eslint/eslint-plugin-tslint/blob/master/LICENSE) | ||
[](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin-tslint) | ||
[](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin-tslint) | ||
[](http://commitizen.github.io/cz-cli/) | ||
[](https://github.com/semantic-release/semantic-release) | ||
[](https://greenkeeper.io) | ||
@@ -16,3 +14,3 @@ ESLint plugin wraps a TSLint configuration and lints the whole source using TSLint. | ||
``` | ||
npm i -D eslint-plugin-tslint | ||
npm i -D @typescript-eslint/eslint-plugin-tslint | ||
``` | ||
@@ -51,2 +49,1 @@ | ||
- https://github.com/ajafff/tslint-consistent-codestyle | ||
@@ -101,7 +101,7 @@ import { Rule } from 'eslint'; | ||
* The user needs to have configured "project" in their parserOptions | ||
* for typescript-eslint-parser | ||
* for @typescript-eslint/parser | ||
*/ | ||
if (!parserServices || !parserServices.program) { | ||
throw new Error( | ||
`You must provide a value for the "parserOptions.project" property for typescript-eslint-parser` | ||
`You must provide a value for the "parserOptions.project" property for @typescript-eslint/parser` | ||
); | ||
@@ -108,0 +108,0 @@ } |
@@ -13,3 +13,3 @@ import { rules } from '../src/index'; | ||
* Project is needed to generate the parserServices | ||
* within typescript-eslint-parser | ||
* within @typescript-eslint/parser | ||
*/ | ||
@@ -44,3 +44,3 @@ project: './tests/tsconfig.json' | ||
code: 'var foo = true;', | ||
parser: 'typescript-eslint-parser', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions, | ||
@@ -55,3 +55,3 @@ options: [tslintRulesConfig] | ||
), | ||
parser: 'typescript-eslint-parser', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
@@ -69,3 +69,3 @@ ...parserOptions, | ||
code: 'throw "should be ok because rule is not loaded";', | ||
parser: 'typescript-eslint-parser', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions, | ||
@@ -79,3 +79,3 @@ options: [tslintRulesConfig] | ||
options: [{ lintFile: './tests/test-project/tslint.json' }], | ||
parser: 'typescript-eslint-parser', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions, | ||
@@ -92,3 +92,3 @@ code: 'throw "err" // no-string-throw', | ||
code: 'var foo = true // semicolon', | ||
parser: 'typescript-eslint-parser', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions, | ||
@@ -107,3 +107,3 @@ options: [tslintRulesConfig], | ||
code: 'var foo = true // fail', | ||
parser: 'typescript-eslint-parser', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions, | ||
@@ -126,3 +126,3 @@ options: [tslintRulesDirectoryConfig], | ||
), | ||
parser: 'typescript-eslint-parser', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
@@ -129,0 +129,0 @@ ...parserOptions, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
3
0
91581
48