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

Commit

Permalink
This should fix #60/#67/#68 and #59/#66, i. e. "Package.getActivation…
Browse files Browse the repository at this point in the history
…Commands is deprecated" and "Package.activateConfig is deprecated".
  • Loading branch information
d4k0 committed May 3, 2015
1 parent c8905e1 commit 619308e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions lib/init.coffee
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
path = require 'path'

module.exports =
configDefaults:
jshintExecutablePath: path.join __dirname, '..', 'node_modules', 'jshint', 'bin'
config:
jshintExecutablePath:
default: path.join __dirname, '..', 'node_modules', 'jshint', 'bin'
title: 'JSHint Executable Path'
type: 'string'

activate: ->
console.log 'activate linter-jshint'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "linter-jshint",
"main": "./lib/init",
"linter-package": true,
"activationEvents": [],
"activationCommands": {},
"version": "0.1.2",
"description": "Linter plugin for JavaScript, using jshint",
"repository": "https://github.com/AtomLinter/linter-jshint.git",
Expand Down

1 comment on commit 619308e

@Jamestt
Copy link

@Jamestt Jamestt commented on 619308e May 6, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have to apply patches for packages manually, or do they normally come down as updates?

Please sign in to comment.