Skip to content

Commit

Permalink
Lots of updates to tooling files
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Sep 5, 2015
1 parent 4f23b8d commit 06fc8b0
Show file tree
Hide file tree
Showing 15 changed files with 286 additions and 362 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "tests/bower_components"
}
9 changes: 9 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
languages:
JavaScript: true
exclude_paths:
- "dist/*"
- "node_modules/*"
- "tests/*"
- "coverage/*"
- "karma.conf.js"
- "www/*"
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore

**/*~
**/._*
**/.DS_Store
npm-debug.log
.idea
/node_modules
/.idea
/coverage
/dist/*.test.js
/node_modules
25 changes: 21 additions & 4 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"excludeFiles": [
"coverage/**",
"dist/**",
"node_modules/**",
"tests/**",
"www/**"
"dist/**",
"www/**",
"node_modules/**"
],
"requireCurlyBraces": [
"if",
Expand Down Expand Up @@ -67,5 +67,22 @@
"disallowSpacesInsideParentheses": true,

"disallowMultipleLineBreaks": true,
"disallowNewlineBeforeBlockStatements": true
"disallowNewlineBeforeBlockStatements": true,
"disallowSpaceBeforeComma": true,
"disallowSpaceBeforeSemicolon": true,

"jsDoc": {
"checkAnnotations": true,
"checkParamNames": true,
"requireParamTypes": true,
"checkRedundantParams": true,
"checkReturnTypes": true,
"checkRedundantReturns": true,
"requireReturnTypes": true,
"checkTypes": true,
"checkRedundantAccess": "enforceLeadingUnderscore",
"leadingUnderscoreAccess": true,
"requireHyphenBeforeDescription": true,
"requireNewlineAfterDescription": true
}
}
10 changes: 5 additions & 5 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage
dist
node_modules
tests
www
/coverage
/dist
/www
/node_modules
/tests
6 changes: 1 addition & 5 deletions .jshintrc
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@

// Custom Globals
"globals": {
"_" : true,
"env" : true,
"expect" : true,
"sinon" : true,
"Promise" : true
"Promise" : true // ES6 Promises
}
}

2 changes: 2 additions & 0 deletions .nojekyll
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file disables Jekyll on Github Pages
https://github.com/blog/572-bypassing-jekyll-on-github-pages
14 changes: 7 additions & 7 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
**/._*
**/.DS_Store
npm-debug.log
.idea
/node_modules
/www
/tests
/.idea
/coverage
/gulpfile.js
/karma.conf.js
/dist/*.test.js
karma.conf.js
/tests
/www
bower.json
index.html
/.*
/index.html
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014 James Messinger
Copyright (c) 2015 James Messinger

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
15 changes: 0 additions & 15 deletions TRAVIS.yml

This file was deleted.

41 changes: 24 additions & 17 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"name": "swagger-parser",
"description": "Parses a JSON or YAML Swagger spec, validates it against the Swagger schema, and dereferences all $ref pointers",
"description": "Swagger 2.0 parser and validator for Node and browsers",
"keywords": [
"json",
"swagger",
"json",
"yaml",
"parse",
"parser",
"validate",
"validator",
"validation",
"spec",
"specification",
"schema",
"validate",
"validation",
"reference",
"dereference"
],
Expand All @@ -26,17 +30,20 @@
"url": "https://github.com/BigstickCarpet/swagger-parser.git"
},
"ignore": [
"**/*~",
"**/._*",
"**/.DS_Store",
"npm-debug.log",
".idea",
"node_modules",
"bower_components",
"tests",
"lib",
"/*.js",
"/.*"
"/bower_components",
"/lib",
"/www",
"/dist/*.test.js",
"/tests",
"/karma.conf.js",
"/.*",
"/index.html",
"/package.json"
],
"dependencies": {}
}
"dependencies": {},
"devDependencies": {
"chai": "*",
"mocha": "*",
"sinon-js": "*"
}
}
74 changes: 0 additions & 74 deletions gulpfile.js

This file was deleted.

Loading

0 comments on commit 06fc8b0

Please sign in to comment.