Skip to content

Commit

Permalink
restart with typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbieh committed May 23, 2019
1 parent b8ba6c0 commit 4d5fe93
Show file tree
Hide file tree
Showing 46 changed files with 12,439 additions and 7,578 deletions.
3 changes: 3 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ['@babel/env', '@babel/typescript'],
};
9 changes: 8 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100

[*.md]
trim_trailing_whitespace = false
trim_trailing_whitespace = false

[*.json]
indent_size = 2

[*.yml]
indent_size = 2
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/node_modules
**/public
src/frontend/config/env.js
**/build
*.d.ts
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: ['wiremore', 'wiremore/typescript'],
rules: {
'security/detect-object-injection': 0,
},
};
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules/*
npm-debug.log
node_modules
6 changes: 6 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"hooks": {
"post-merge": "install-deps-postmerge",
"pre-commit": "lint-staged"
}
}
16 changes: 16 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"linters": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"yarn lint:js --fix",
"git add"
],
"*.css": [
"yarn lint:css --fix",
"git add"
]
}
}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//registry.npmjs.org/:_authToken = ${NPM_TOKEN}
11 changes: 9 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
printWidth: 120
printWidth: 80
singleQuote: true
tabWidth: 4
trailingComma: es5
semi: true
arrowParens: always
jsxBracketSameLine: true

overrides:
- files: "*.json"
options:
tabWidth: 2
- files: "*.yml"
options:
tabWidth: 2
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

137 changes: 0 additions & 137 deletions Gruntfile.js

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 4d5fe93

Please sign in to comment.