Skip to content

Commit

Permalink
Bump version to match angular-bro-app release
Browse files Browse the repository at this point in the history
- Includes basic eslintrc file
- Removes jscs and jshint scaffolded files
  • Loading branch information
adambullmer committed Mar 30, 2017
1 parent 0bd2e75 commit 8130964
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 41 deletions.
9 changes: 2 additions & 7 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ module.exports = generators.Base.extend({
writing: {
root: function () {
this.fs.copy(
this.templatePath('.jscsrc'),
this.destinationPath('.jscsrc')
);

this.fs.copy(
this.templatePath('.jshintrc'),
this.destinationPath('.jshintrc')
this.templatePath('.eslintrc'),
this.destinationPath('.eslintrc')
);

this.fs.copyTpl(
Expand Down
39 changes: 39 additions & 0 deletions generators/app/templates/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"globalReturn": false,
"impliedStrict": true
}
},
"env": {
"browser": true,
"jasmine": true,
"node": true
},
"globals": {},
"rules": {
"curly": [
"error",
"all"
],
"eqeqeq": "error",
"no-undef": "error",
"no-unused-vars": "error",
"no-debugger": "off",
"no-mixed-spaces-and-tabs": "error",
"no-trailing-spaces": "error",
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
]
}
}
17 changes: 0 additions & 17 deletions generators/app/templates/.jscsrc

This file was deleted.

15 changes: 0 additions & 15 deletions generators/app/templates/.jshintrc

This file was deleted.

2 changes: 1 addition & 1 deletion generators/app/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"angular-bro-app": "0.9.0",
"angular-bro-app": "0.10.0",
"broccoli": "0.16.9",
"grunt": "^1.0.1",
"grunt-broccoli": "^0.4.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-angular-bro",
"version": "0.8.0",
"version": "0.9.0",
"description": "Angular app scaffolding and build chain",
"main": "generators/app/index.js",
"files": [
Expand Down

0 comments on commit 8130964

Please sign in to comment.