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

@typescript-eslint/eslint-plugin-tslint

Package Overview
Dependencies
Maintainers
1
Versions
3308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/eslint-plugin-tslint - npm Package Compare versions

Comparing version 0.2.1-alpha.2 to 0.2.1

85

CHANGELOG.md

@@ -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

4

dist/index.js

@@ -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
[![Travis](https://img.shields.io/travis/JamesHenry/eslint-plugin-tslint.svg?style=flat-square)](https://travis-ci.org/JamesHenry/eslint-plugin-tslint)
[![GitHub license](https://img.shields.io/npm/l/eslint-plugin-tslint.svg?style=flat-square)](https://github.com/JamesHenry/eslint-plugin-tslint/blob/master/LICENSE)
[![NPM Version](https://img.shields.io/npm/v/eslint-plugin-tslint.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-tslint)
[![NPM Downloads](https://img.shields.io/npm/dt/eslint-plugin-tslint.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-tslint)
[![Travis](https://img.shields.io/travis/@typescript-eslint/eslint-plugin-tslint.svg?style=flat-square)](https://travis-ci.org/@typescript-eslint/eslint-plugin-tslint)
[![GitHub license](https://img.shields.io/npm/l/@typescript-eslint/eslint-plugin-tslint.svg?style=flat-square)](https://github.com/@typescript-eslint/eslint-plugin-tslint/blob/master/LICENSE)
[![NPM Version](https://img.shields.io/npm/v/@typescript-eslint/eslint-plugin-tslint.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin-tslint)
[![NPM Downloads](https://img.shields.io/npm/dt/@typescript-eslint/eslint-plugin-tslint.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin-tslint)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)
[![greenkeeper.io](https://badges.greenkeeper.io/JamesHenry/mongoose-schema-to-typescript-interface.svg?style=flat-square)](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

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