stylelint-webpack-plugin
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -11,3 +11,3 @@ /// <reference types="stylelint" /> | ||
): Linter; | ||
export type Stylelint = import('stylelint/node_modules/postcss').PluginCreator< | ||
export type Stylelint = import('postcss').PluginCreator< | ||
import('stylelint').PostcssPluginOptions | ||
@@ -52,7 +52,5 @@ > & { | ||
ruleSettings: import('stylelint').ConfigRuleSettings<T_1, O>; | ||
root: import('stylelint/node_modules/postcss').Root; | ||
root: import('postcss').Root; | ||
}, | ||
callback: ( | ||
warning: import('stylelint/node_modules/postcss').Warning | ||
) => void | ||
callback: (warning: import('postcss').Warning) => void | ||
) => void; | ||
@@ -59,0 +57,0 @@ }; |
@@ -17,3 +17,3 @@ /// <reference types="stylelint" /> | ||
}; | ||
export type Stylelint = import('stylelint/node_modules/postcss').PluginCreator< | ||
export type Stylelint = import('postcss').PluginCreator< | ||
import('stylelint').PostcssPluginOptions | ||
@@ -58,7 +58,5 @@ > & { | ||
ruleSettings: import('stylelint').ConfigRuleSettings<T_1, O>; | ||
root: import('stylelint/node_modules/postcss').Root; | ||
root: import('postcss').Root; | ||
}, | ||
callback: ( | ||
warning: import('stylelint/node_modules/postcss').Warning | ||
) => void | ||
callback: (warning: import('postcss').Warning) => void | ||
) => void; | ||
@@ -65,0 +63,0 @@ }; |
@@ -40,3 +40,3 @@ /// <reference types="stylelint" /> | ||
): Partial<StylelintOptions>; | ||
export type stylelint = import('stylelint/node_modules/postcss').PluginCreator< | ||
export type stylelint = import('postcss').PluginCreator< | ||
import('stylelint').PostcssPluginOptions | ||
@@ -81,7 +81,5 @@ > & { | ||
ruleSettings: import('stylelint').ConfigRuleSettings<T_1, O>; | ||
root: import('stylelint/node_modules/postcss').Root; | ||
root: import('postcss').Root; | ||
}, | ||
callback: ( | ||
warning: import('stylelint/node_modules/postcss').Warning | ||
) => void | ||
callback: (warning: import('postcss').Warning) => void | ||
) => void; | ||
@@ -88,0 +86,0 @@ }; |
/// <reference types="stylelint" /> | ||
export type Stylelint = import('stylelint/node_modules/postcss').PluginCreator< | ||
export type Stylelint = import('postcss').PluginCreator< | ||
import('stylelint').PostcssPluginOptions | ||
@@ -42,7 +42,5 @@ > & { | ||
ruleSettings: import('stylelint').ConfigRuleSettings<T_1, O>; | ||
root: import('stylelint/node_modules/postcss').Root; | ||
root: import('postcss').Root; | ||
}, | ||
callback: ( | ||
warning: import('stylelint/node_modules/postcss').Warning | ||
) => void | ||
callback: (warning: import('postcss').Warning) => void | ||
) => void; | ||
@@ -49,0 +47,0 @@ }; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "stylelint-webpack-plugin", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "A Stylelint plugin for webpack", | ||
@@ -49,6 +49,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@types/stylelint": "^13.13.3", | ||
"arrify": "^2.0.1", | ||
"globby": "^11.0.4", | ||
"jest-worker": "^27.3.1", | ||
"globby": "^11.0.4", | ||
"micromatch": "^4.0.4", | ||
@@ -55,0 +54,0 @@ "normalize-path": "^3.0.0", |
@@ -21,3 +21,3 @@ <div align="center"> | ||
```bash | ||
npm install stylelint-webpack-plugin --save-dev | ||
npm install stylelint-webpack-plugin@2 --save-dev | ||
``` | ||
@@ -31,2 +31,4 @@ | ||
**Note**: If you are using Stylelint 13 rather than 14+, you might also need to install `@types/stylelint` as a dev dependency if getting stylelint related type errors. | ||
## Usage | ||
@@ -186,12 +188,12 @@ | ||
[npm]: https://img.shields.io/npm/v/stylelint-webpack-plugin.svg | ||
[npm-url]: https://npmjs.com/package/stylelint-webpack-plugin | ||
[node]: https://img.shields.io/node/v/stylelint-webpack-plugin.svg | ||
[npm]: https://img.shields.io/npm/v/stylelint-webpack-plugin/2x.svg | ||
[npm-url]: https://npmjs.com/package/stylelint-webpack-plugin/v/2x | ||
[node]: https://img.shields.io/node/v/stylelint-webpack-plugin/2x.svg | ||
[node-url]: https://nodejs.org | ||
[deps]: https://david-dm.org/webpack-contrib/stylelint-webpack-plugin.svg | ||
[deps-url]: https://david-dm.org/webpack-contrib/stylelint-webpack-plugin | ||
[tests]: https://github.com/webpack-contrib/stylelint-webpack-plugin/workflows/stylelint-webpack-plugin/badge.svg | ||
[tests]: https://github.com/webpack-contrib/stylelint-webpack-plugin/workflows/stylelint-webpack-plugin/badge.svg?branch=2.x | ||
[tests-url]: https://github.com/webpack-contrib/stylelint-webpack-plugin/actions | ||
[cover]: https://codecov.io/gh/webpack-contrib/stylelint-webpack-plugin/branch/master/graph/badge.svg | ||
[cover-url]: https://codecov.io/gh/webpack-contrib/stylelint-webpack-plugin | ||
[cover]: https://codecov.io/gh/webpack-contrib/stylelint-webpack-plugin/branch/2.x/graph/badge.svg | ||
[cover-url]: https://codecov.io/gh/webpack-contrib/stylelint-webpack-plugin/branch/2.x | ||
[chat]: https://badges.gitter.im/webpack/webpack.svg | ||
@@ -198,0 +200,0 @@ [chat-url]: https://gitter.im/webpack/webpack |
Sorry, the diff of this file is not supported yet
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
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
48344
8
200
1214
- Removed@types/stylelint@^13.13.3
- Removed@types/stylelint@13.13.3(transitive)
- Removedpicocolors@0.2.1(transitive)
- Removedpostcss@7.0.39(transitive)