# lesshint-webpack-plugin

> lesshint webpack plugin

Latest version **0.0.5** (published 2019-02-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install lesshint-webpack-plugin
pnpm add lesshint-webpack-plugin
yarn add lesshint-webpack-plugin
bun add lesshint-webpack-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2019-02-02 |
| First published | 2016-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kornel Horvath |
| Maintainers | grofzero |
| Keywords | hint, hinter, lesshint, less, webpack |

## Links

- npm: https://www.npmjs.com/package/lesshint-webpack-plugin
- Repository: https://github.com/grofzero/lesshint-webpack-plugin
- Homepage: https://github.com/grofzero/lesshint-webpack-plugin#readme
- Issues: https://github.com/grofzero/lesshint-webpack-plugin/issues
- npm.io page: https://npm.io/package/lesshint-webpack-plugin

## Dependencies (2)

- [glob-all](https://npm.io/package/glob-all.md) ^3.1.0
- [lesshint-reporter-stylish](https://npm.io/package/lesshint-reporter-stylish.md) 1.0.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2019-02-02
- 0.0.4 — 2018-01-23
- 0.0.3 — 2017-03-11
- 0.0.2 — 2016-12-22
- 0.0.1 — 2016-10-25

## README

# Lesshint Plugin for Webpack

## Install

```console
$ npm install lesshint-webpack-plugin
```

## Usage

In your webpack configuration

```js
var LessHintPlugin = require('lesshint-webpack-plugin');

module.exports = {
  // ...
  plugins: [
    new LessHintPlugin({
          files: [
                path.join(__dirname , './source/applications/**/*.less'),
                path.join(__dirname , './source/frame/**/*.less'),
                path.join(__dirname , '!./source/frame/bootstrap/**/*.less'),
                path.join(__dirname , './source/modules/**/*.less'),
                path.join(__dirname , './source/layouts/**/*.less')
          ],
          configFile: path.resolve(__dirname, '.lesshintrc')
      })
  ],
  // ...
}
```

### Options

See [lesshint options](https://www.npmjs.com/package/lesshint#configuration), for the complete list of options.

* `configFile`: You can set the config file location for your lesshint options if not given it will look for a .lesshintrc file
* `files`: You can set the glob pattern for finding files (absolute path).
* `reporter`: You can set the reporter for lesshint. Default: `lesshint-reporter-stylish`

---
_Source: https://npm.io/package/lesshint-webpack-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
