Skip to content

Commit

Permalink
add missing less references (#15)
Browse files Browse the repository at this point in the history
this specifically addresses issue #14 with the addition of `onLanguage:less`.
  • Loading branch information
patsissons authored and shinnn committed May 25, 2016
1 parent b76c097 commit 1a48aca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
*.css
*.png
*.scss
*.less
media/*.ai
test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Dependency Status](https://david-dm.org/shinnn/vscode-stylelint.svg)](https://david-dm.org/shinnn/vscode-stylelint)
[![devDependency Status](https://david-dm.org/shinnn/vscode-stylelint/dev-status.svg)](https://david-dm.org/shinnn/vscode-stylelint#info=devDependencies)

A [Visual Studio Code](https://code.visualstudio.com/) extension to lint [CSS](https://www.w3.org/Style/CSS/)/[SCSS](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax) with [stylelint](http://stylelint.io/)
A [Visual Studio Code](https://code.visualstudio.com/) extension to lint [CSS](https://www.w3.org/Style/CSS/)/[SCSS](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax)/[Less](http://lesscss.org/) with [stylelint](http://stylelint.io/)

![screenshot](screenshot.png)

Expand Down Expand Up @@ -33,7 +33,7 @@ Enable the linter in the VS Code [settings](https://code.visualstudio.com/docs/c
Type: `Boolean`
Default: `true`

Control whether [stylelint](https://github.com/stylelint/stylelint/) is enabled for CSS/SCSS files or not.
Control whether [stylelint](https://github.com/stylelint/stylelint/) is enabled for CSS/SCSS/Less files or not.

#### stylelint.configOverrides

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "stylelint",
"version": "0.8.3",
"displayName": "stylelint",
"description": "Modern CSS/SCSS linter",
"description": "Modern CSS/SCSS/Less linter",
"publisher": "shinnn",
"repository": "https://github.com/shinnn/vscode-stylelint",
"homepage": "https://github.com/shinnn/vscode-stylelint#readme",
Expand All @@ -21,7 +21,8 @@
],
"activationEvents": [
"onLanguage:css",
"onLanguage:sass"
"onLanguage:sass",
"onLanguage:less"
],
"main": "extension.js",
"contributes": {
Expand All @@ -32,7 +33,7 @@
"stylelint.enable": {
"type": "boolean",
"default": true,
"description": "Control whether stylelint is enabled for CSS/SCSS files or not."
"description": "Control whether stylelint is enabled for CSS/SCSS/Less files or not."
},
"stylelint.config": {
"type": "object",
Expand Down

0 comments on commit 1a48aca

Please sign in to comment.