Skip to content

Commit

Permalink
chore(lint): fix tslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sendilkumarn committed Sep 21, 2018
1 parent 1e0fa65 commit cf0bf4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion packages/generators/add-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,9 @@ export default class AddGenerator extends Generator {
// Either we are adding directly at the property, else we're in a prop.theOne scenario
const actionMessage: string =
isDeepProp[1] === "other"
? `What do you want the key on ${action} to be? (press enter if you want it directly as a value on the property)`
? `What do you want the key on ${
action
} to be? (press enter if you want it directly as a value on the property)`
: `What do you want the value of ${isDeepProp[1]} to be?`;

this.prompt([
Expand Down
6 changes: 0 additions & 6 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
],
"no-console": {
"severity": "warning"
},
"max-line-length": {
"options": {
"limit": 120
},
"severity": "warn"
}
},
"rulesDirectory": [],
Expand Down

0 comments on commit cf0bf4a

Please sign in to comment.