Skip to content

Commit

Permalink
adds lint confs
Browse files Browse the repository at this point in the history
  • Loading branch information
vajahath committed Jan 29, 2018
1 parent 6c77be7 commit 3df07f3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package.json
dist
src/views
src/public
node_modules
*.yaml
*.yml
*.sh
*.html
*.lock
*.ejs
*.*-
*.sql
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "all",
"useTabs": true,
"singleQuote": true,
"tabWidth": 4,
"semi": true
}
11 changes: 7 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"cSpell.words": [
"sqlify"
]
}
"tslint.exclude": ["**/node_modules/**", "**/.roughs/**"],
"prettier.eslintIntegration": false,
"cSpell.words": [
"sqlify",
],
"cSpell.language": "en"
}
7 changes: 6 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"linterOptions": {
"exclude": []
},
"rules": {
"arrow-parens": false,
"class-name": true,
"comment-format": [true, "check-space"],
"eofline": true,
Expand Down Expand Up @@ -36,7 +40,8 @@
"ban-keywords",
"allow-snake-case"
],
"prefer-const": true
"prefer-const": true,
"object-literal-sort-keys": false
},
"rulesDirectory": []
}

0 comments on commit 3df07f3

Please sign in to comment.