forked from APIDevTools/swagger-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '018e6eea9db7aa30d969ab2bc9798914c48a0557'
* commit '018e6eea9db7aa30d969ab2bc9798914c48a0557': Updated the real-world API tests from apis.guru ESLint fixes updated tooling files
- Loading branch information
Showing
14 changed files
with
72 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ coverage | |
dist | ||
www | ||
node_modules | ||
tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
**/*~ | ||
**/._* | ||
**/.DS_Store | ||
*.sublime-* | ||
npm-debug.log | ||
/.idea | ||
/coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
**/*~ | ||
**/._* | ||
**/.DS_Store | ||
*.sublime-* | ||
npm-debug.log | ||
/.idea | ||
/coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
// ESLint config | ||
// http://eslint.org/docs/rules/ | ||
|
||
"env": { | ||
"mocha": true, // Mocha | ||
}, | ||
|
||
"globals": { | ||
"SwaggerParser": true, // Swagger Parser | ||
"helper": true, // Test fixtures | ||
"userAgent": true, // Test fixtrues | ||
"chai": true, // Chai | ||
"expect": true, // Chai | ||
"path": true, // Node | ||
"superagent": true, // SuperAgent | ||
}, | ||
|
||
"rules": { | ||
"require-jsdoc": 0, // Don't require doc comments for tests | ||
"no-unused-expressions": 0, // Chai property syntax triggers this rule | ||
"max-nested-callbacks": 0, // Mocha BDD syntax leads to deeply-nested callbacks | ||
"no-invalid-this": 0, // Mocha BDD syntax triggers this rule | ||
"no-loop-func": 0, // We need to dynamically create BDD suites/tests | ||
"global-require": 0, // Nested `require` is required, since tests can run in Node or browsers | ||
"strict": [2, "function"], // require the "use strict" pragma in a function | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ | |
this.currentTest.slow(500); | ||
}); | ||
|
||
})(); | ||
}()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,4 +71,4 @@ | |
return encodeURIComponent(file).split('%2F').join('/'); | ||
} | ||
|
||
})(); | ||
}()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters