tslint-loader
Advanced tools
Comparing version 3.5.3 to 3.6.0
# Changelog | ||
### 3.5.3 | ||
Convert legacy rules for Tslint 5, | ||
fixes [#73](https://github.com/wbuchwalter/tslint-loader/issues/73) | ||
### 3.5.2 | ||
@@ -4,0 +9,0 @@ |
@@ -24,3 +24,3 @@ /* | ||
function resolveOptions(webpackInstance) { | ||
var tslintOptions = webpackInstance.options.tslint ? webpackInstance.options.tslint : {}; | ||
var tslintOptions = webpackInstance.options && webpackInstance.options.tslint ? webpackInstance.options.tslint : {}; | ||
var query = loaderUtils.getOptions(webpackInstance); | ||
@@ -62,3 +62,3 @@ | ||
}; | ||
var bailEnabled = (webpackInstance.options.bail === true); | ||
var bailEnabled = (webpackInstance.options && webpackInstance.options.bail === true); | ||
@@ -65,0 +65,0 @@ var program; |
{ | ||
"name": "tslint-loader", | ||
"version": "3.5.3", | ||
"version": "3.6.0", | ||
"description": "tslint loader for webpack", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,2 +21,19 @@ # tslint-loader | ||
### Webpack 3 | ||
```javascript | ||
module.exports = { | ||
module: { | ||
loaders: [ | ||
{ | ||
test: /\.ts$/, | ||
enforce: 'pre', | ||
loader: 'tslint-loader', | ||
options: { /* Loader options go here */ } | ||
} | ||
] | ||
} | ||
} | ||
``` | ||
### Webpack 2 | ||
@@ -23,0 +40,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140
11755
9
1