Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 8c0e831

Browse files
committed
Merge pull request #21 from zimme/master
Fix deprecation warnings
2 parents ece75d2 + 8f679b7 commit 8c0e831

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/init.coffee

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
path = require 'path'
22

33
module.exports =
4-
configDefaults:
5-
csslintExecutablePath: path.join __dirname, '..', 'node_modules', '.bin'
4+
config:
5+
csslintExecutablePath:
6+
default: path.join __dirname, '..', 'node_modules', '.bin'
7+
title: 'CSSLint Executable Path'
8+
type: 'string'
69

710
activate: ->
811
console.log 'activate linter-csslint'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"main": "./lib/init",
1010
"linter-package": true,
11-
"activationEvents": [],
11+
"activationCommands": {},
1212
"version": "0.0.11",
1313
"description": "Lint CSS on the fly, using csslint",
1414
"repository": "https://github.com/AtomLinter/linter-csslint",

0 commit comments

Comments
 (0)