Skip to content

Commit

Permalink
update ESLint to ^3.10.0
Browse files Browse the repository at this point in the history
ESLint now supports a new `codeframe` formatter.
  • Loading branch information
shinnn committed Nov 14, 2016
1 parent a7383d1 commit e38df24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const LanguageClient = langClient.LanguageClient;
const SettingMonitor = langClient.SettingMonitor;
const vscode = require('vscode');

exports.activate = function activateStylelint(context) {
exports.activate = context => {
const serverModule = path.join(__dirname, 'server.js');

const client = new LanguageClient('stylelint', {
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
]
},
"scripts": {
"test": "eslint --config @shinnn/node --fix extension.js server.js"
"test": "eslint --fix --format=codeframe extension.js server.js"
},
"dependencies": {
"stylelint-vscode": "^5.1.0",
Expand All @@ -77,7 +77,10 @@
},
"devDependencies": {
"@shinnn/eslint-config-node": "^3.0.0",
"eslint": "^3.2.0",
"eslint": "^3.10.0",
"vscode": "^1.0.0"
},
"eslintConfig": {
"extends": "@shinnn/node"
}
}

0 comments on commit e38df24

Please sign in to comment.