Skip to content

Commit

Permalink
RAMLLintBear.py: Update NpmRequirement version
Browse files Browse the repository at this point in the history
Update NpmRequirement version to include a range of
versions >=1.2.2 <1.2.4 || >=1.2.5 <1.3.0 since
version 1.2.4 has been marked depreciated.

Fixes coala#1470
  • Loading branch information
yash-nisar committed Mar 29, 2017
1 parent 53bb00c commit beee3dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bears/yaml/RAMLLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class RAMLLintBear:
"""

LANGUAGES = {'RAML'}
REQUIREMENTS = {NpmRequirement('ramllint', '>=1.2.2 <1.2.4')}
REQUIREMENTS = {NpmRequirement('ramllint',
'>=1.2.2 <1.2.4 || >=1.2.5 <1.3.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'[email protected]'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"happiness": "~7.1.2",
"jshint": "~2",
"postcss-cli": "~2",
"ramllint": ">=1.2.2 <1.2.4",
"ramllint": ">=1.2.2 <1.2.4 || >=1.2.5 <1.3.0",
"remark-cli": "~2",
"remark-lint": "~5",
"stylelint": "~7",
Expand Down

0 comments on commit beee3dd

Please sign in to comment.