Skip to content

Commit

Permalink
introduce jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwagner committed Dec 30, 2016
1 parent c42f3d1 commit dbe8c4b
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 145 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*.js]
indent_style = space
indent_size = 2
8 changes: 8 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"preset": "node-style-guide",
"maximumLineLength": 120,
"requireCurlyBraces": null,
"requireCapitalizedComments": null,
"requireTrailingComma": null,
"disallowKeywordsOnNewLine": null
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ install:


simplex-noise.min.js: simplex-noise.js
echo "/*! simplex-noise.js: copyright 2012 Jonas Wagner, licensed under a MIT license. See https://github.com/jwagner/simplex-noise.js for details */" > simplex-noise.min.js
echo "/*! simplex-noise.js: copyright 2016 Jonas Wagner, licensed under a MIT license. See https://github.com/jwagner/simplex-noise.js for details */" > simplex-noise.min.js
uglifyjs -nc --unsafe < simplex-noise.js >> simplex-noise.min.js
Loading

0 comments on commit dbe8c4b

Please sign in to comment.