Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

autolesshint

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autolesshint - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

.gitattributes

7

package.json
{
"name": "autolesshint",
"version": "0.0.1",
"version": "0.1.0",
"description": "Automagically fixes lesshint errors in .less files.",
"index": "bin/autolesshint",
"bin": {
"autolesshint": "./bin/autolesshint"
},
"directories": {

@@ -53,4 +56,4 @@ "test": "test"

"commander": "^2.9.0",
"lesshint": "^2.4.0"
"lesshint": "^3.0.0"
}
}
# autolesshint
[![npm](https://img.shields.io/npm/v/autolesshint.svg)](https://www.npmjs.com/package/autolesshint)
Nothing here yet, check back very soon!
`autolesshint` is a tool to automatically fix [Lesshint](https://github.com/lesshint/lesshint) complaints.
* [Installation](#installation)
* [CLI usage](#cli-usage)
* [Supported rules](#supported-rules)
## Installation
Run the following command from the command line (add `-g` to install globally):
```
npm install autolesshint
```
## CLI usage
Run `autolesshint` from the command-line by passing one or more files/directories to recursively scan.
```
autolesshint src/less/ lib/style.less
```
Available Flags | Description
----------------------|----------------------------------------------
`-c`/`--config` | Specify the configuration file to use (will be merged with defaults).
`-e`/`--exclude` | A [minimatch glob pattern](https://github.com/isaacs/minimatch) or a file to exclude from being linted.
`-V`/`--version` | Show version.
## Supported rules
* `attribute_quotes`
* `border_zero`
* `comment`
* `final_newline`
* `trailing_semicolon`
* `trailing_whitespace`
* `url_quotes`
See the [Complete rule coverage](https://github.com/automutate/autolesshint/milestone/1) milestone for upcoming coverage support.
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