Skip to content

Commit

Permalink
Update lesshint to 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilsson committed Feb 8, 2017
1 parent 071147b commit 4b6ac25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## 3.0.0 (2017-XX-XX)
* Updated `lesshint` to `3.0.0`. ([4e734d9](https://github.com/lesshint/atom-linter-lesshint/commit/4e734d9711108b752353f4085e141bce13ddb00f))

## 2.2.0 (2016-11-23)
* Added a `globalConfig` option to provide a way to use global configs. ([d2bd9f0](https://github.com/lesshint/atom-linter-lesshint/commit/d2bd9f074144b9ff7735d012b5235251e1e7c729))
* Updated `lesshint` to `2.2.1`. ([6f5e88a](https://github.com/lesshint/atom-linter-lesshint/commit/6f5e88a60755965df5ede35fb8476154e8bfcd95))
Expand Down
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use babel';

import configLoader from 'lesshint/lib/config-loader';
import { findCachedAsync, rangeFromLineNumber } from 'atom-linter';
import Lesshint from 'lesshint';
import { Lesshint } from 'lesshint';
import path from 'path';
import os from 'os';

Expand Down Expand Up @@ -65,7 +64,7 @@ export default class LinterLesshint {

try {
if (configFile) {
config = configLoader(configFile);
config = lesshint.getConfig(configFile);
}
} catch (e) {
atom.notifications.addError("Something's wrong with the `.lesshintrc` file.", {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"atom-linter": "^8.0.0",
"atom-package-deps": "^4.0.1",
"lesshint": "^2.2.1"
"lesshint": "^3.0.0"
},
"devDependencies": {
"babel-eslint": "^7.0.0",
Expand Down

0 comments on commit 4b6ac25

Please sign in to comment.