This repository has been archived by the owner on Mar 2, 2019. It is now read-only.
Added JSCS & JSHint with Travis CI config #317
Closed
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
66a7b9b
:v: Added JSCSRC
ShashankaNataraj 97aba0d
:v: Added JSCSRC to packages.json
ShashankaNataraj e83b751
:v: grunt plugin to jscsrc
ShashankaNataraj 4983fe9
:v: Added jshint and jshint grunt plugin to jshint
ShashankaNataraj f03d31c
:v: Added some rules
ShashankaNataraj 63f7149
:v: Added more rules, almost complete!
ShashankaNataraj 5c14d60
:v: Added .jshintrc
ShashankaNataraj 912d500
:v: Updated .jshintrc, removed duplicate in .jscsrc
ShashankaNataraj 99c9b62
:dart: Corrected .jscsrc. Added tasks in gruntfile for both jscs and …
ShashankaNataraj ff80efc
:dart: Added travis.yml for CI
ShashankaNataraj 9e410b1
:dart: Added a "quality" task in grunt to trigger jscs and jshint fro…
ShashankaNataraj cac05b0
:dart: Triggered the `all` subtasks under jshint and jscs
ShashankaNataraj 9d5b896
:dart: Added requireDollarBeforejQueryAssignment
ShashankaNataraj 3cf91ec
:dance: Removed JSCS and JSHint from node packages, bumped up node ve…
ShashankaNataraj 123bbaa
:dance: Bumped up nodejs version to .12.4
ShashankaNataraj 74c6946
:dancer: linted Gruntfile.js and corrected style issues. Removed usel…
ShashankaNataraj 3b64bd1
squashed
ShashankaNataraj File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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,6 +2,7 @@ | |
/.sass-cache/ | ||
dist | ||
node_modules/ | ||
.idea/ | ||
/tmp/ | ||
.DS_Store | ||
npm-debug.log | ||
|
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,37 @@ | ||
{ | ||
"excludeFiles": ["node_modules/**", "bower_components/**"], | ||
"validateIndentation": 2, | ||
"disallowMixedSpacesAndTabs": true, | ||
"disallowMultipleSpaces":true, | ||
"requireSemicolons":true, | ||
"requireSpaceAfterLineComment":true, | ||
"disallowTrailingComma":true, | ||
"requireMultipleVarDecl":true, | ||
"disallowSpaceAfterPrefixUnaryOperators":["++", "--", "+", "-", "~", "!"], | ||
"requireLineFeedAtFileEnd":true, | ||
"validateParameterSeparator":", ", | ||
"requireSpaceAfterBinaryOperators":["="], | ||
"requireSpaceBeforeBinaryOperators":["="], | ||
"requireSpacesInsideParentheses":"all", | ||
"requireSpacesInsideArrayBrackets": "all", | ||
"disallowSpaceBeforeBinaryOperators":[","], | ||
"requireSpacesInAnonymousFunctionExpression":{ | ||
"beforeOpeningCurlyBrace": true | ||
}, | ||
"requireSpacesInCallExpression":true, | ||
"requireSpacesInConditionalExpression":true, | ||
"requireSpacesInForStatement":true, | ||
"requireSpacesInFunctionDeclaration":{ | ||
"beforeOpeningCurlyBrace": true | ||
}, | ||
"requireSpacesInFunctionExpression":{ | ||
"beforeOpeningCurlyBrace": true | ||
}, | ||
"requireSpacesInFunction":{ | ||
"beforeOpeningCurlyBrace": true | ||
}, | ||
"requireSpacesInNamedFunctionExpression":{ | ||
"beforeOpeningCurlyBrace": true | ||
}, | ||
"requireDollarBeforejQueryAssignment":true | ||
This comment was marked as abuse.
Sorry, 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"bitwise": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"freeze": true, | ||
"quotmark": "single", | ||
This comment was marked as abuse.
Sorry, something went wrong. |
||
"undef": true, | ||
"unused": true, | ||
"strict": false, | ||
"validthis": false | ||
} |
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,7 @@ | ||
language: node_js | ||
node_js: | ||
- "0.12.4" | ||
This comment was marked as abuse.
Sorry, something went wrong. |
||
before_install: | ||
- npm install -g grunt-cli bower | ||
- bower install | ||
This comment was marked as abuse.
Sorry, something went wrong. |
||
script: grunt quality | ||
This comment was marked as abuse.
Sorry, 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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as abuse.
Sorry, something went wrong.