autolesshint
Advanced tools
Comparing version 0.0.1 to 0.1.0
{ | ||
"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. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
44232
54
765
43
+ Addedlesshint@3.3.1(transitive)
+ Addedpostcss-less@0.16.1(transitive)
+ Addedpostcss-values-parser@1.5.0(transitive)
- Removedexit@0.1.2(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedlesshint@2.4.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpostcss-less@0.14.0(transitive)
- Removedpostcss-values-parser@0.1.8(transitive)
- Removeduuid@2.0.3(transitive)
- Removedvow@0.4.20(transitive)
- Removedvow-fs@0.3.6(transitive)
- Removedvow-queue@0.4.3(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedlesshint@^3.0.0