Skip to content

Commit

Permalink
jshintrc for codebricks
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Aug 10, 2015
1 parent 2290cd4 commit e2779dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions data/codebricks/.jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"esnext": true
}
4 changes: 3 additions & 1 deletion sak/codebricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def new ( name, subject, keywords = None, ci = TRAVISCI, username = None, passwo
npm["description"] = description
npm["main"] = "js/dist/%(name)s.js" % fmtargs
npm["dependencies"] = {}
npm["devDependencies"] = {"aureooms-node-package": "^5.0.0"}
npm["devDependencies"] = {"aureooms-node-package": "^5.0.2"}
npm["scripts"] = {}
npm["scripts"]["build"] = "./node_modules/.bin/aureooms-node-package-build"
npm["scripts"]["test"] = "./node_modules/.bin/aureooms-node-package-test"
Expand Down Expand Up @@ -116,6 +116,7 @@ def new ( name, subject, keywords = None, ci = TRAVISCI, username = None, passwo
".groc.json",
".travis.yml",
".codeclimate.yml",
".jshintrc",
".gitignore",
README
]
Expand Down Expand Up @@ -153,6 +154,7 @@ def new ( name, subject, keywords = None, ci = TRAVISCI, username = None, passwo
shutil.copy(lib.sak.data("codebricks", ".travis.yml"), ".travis.yml")

shutil.copy(lib.sak.data("codebricks", ".codeclimate.yml"), ".codeclimate.yml")
shutil.copy(lib.sak.data("codebricks", ".jshintrc"), ".jshintrc")

lib.git.add("--all", ".")
lib.git.commit("-am", "$ codebricks new")
Expand Down

0 comments on commit e2779dc

Please sign in to comment.