Skip to content

Commit 0615d8a

Browse files
greenkeeper[bot]gregswindle
authored andcommitted
chore(package): update yamljs to the latest version 🚀 (#18)
* fix(package): update yamljs to version 0.3.0 * chore(packages): update dependencies 1. eslint 2. yamljs #17,#18 * chore(prune): remove unused resources #17,#18
1 parent 007ac3d commit 0615d8a

File tree

7 files changed

+5898
-134
lines changed

7 files changed

+5898
-134
lines changed

.git-labels/all-git-label-packages.json

Lines changed: 0 additions & 117 deletions
This file was deleted.

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
2-
cache:
3-
directories:
4-
- node_modules
2+
# cache:
3+
# directories:
4+
# - node_modules
55
notifications:
66
email: false
77
node_js:
@@ -13,7 +13,7 @@ before_script:
1313
script:
1414
- npm test
1515
- npm run coverage
16-
- npm run coverage:codacy
16+
# - npm run coverage:codacy
1717
- npm run coverage:coveralls
1818
after_success:
1919
- npm run semantic-release

lib/processors/swagger-json-processor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module.exports = {
44
".json": {
55

6-
/**
6+
/**
77
* Ensure that JSON strings are properly esscaped
88
*
99
* @param {string} sourceCode JSON source code

lib/rules/no-path-verbs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module.exports = {
132132

133133
return {
134134

135-
/**
135+
/**
136136
* Check API paths for common (English) verbs
137137
*
138138
* @param {ASTNode<Property>} propertyNode A node to be evaluated

lib/rules/require-plural-paths.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = {
7171
const fixPathResources = function(resources) {
7272
const mapValidResources = function(resource) {
7373
return (!pathEvaluator.isParameter(resource) ?
74-
pluralize.plural(resource) : resource);
74+
pluralize.plural(resource) : resource);
7575
};
7676
const validResources = map(resources, mapValidResources);
7777
return `/${validResources.join("/")}`;
@@ -111,7 +111,7 @@ module.exports = {
111111
//----------------------------------------------------------------------
112112

113113
return {
114-
/**
114+
/**
115115
* Check API paths' resources for singular nouns
116116
*
117117
* @param {ASTNode<Property>} propertyNode A node to be evaluated

0 commit comments

Comments
 (0)