Skip to content

Commit

Permalink
Rewrite the source in Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Norserium committed Feb 28, 2021
1 parent 550f73c commit 9c6d742
Show file tree
Hide file tree
Showing 7 changed files with 5,730 additions and 4,491 deletions.
10 changes: 8 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@
"plugin:prettier/recommended"
],
"env": {
"es6": true
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"rules": {
// don't force es6 functions to include space before paren
"space-before-function-paren": 0,

// allow specifying true explicitly for boolean props
"react/jsx-boolean-value": 0
"react/jsx-boolean-value": 0,

// allow to miss the setting of explicit function return type
"@typescript-eslint/explicit-function-return-type": 0
}
}
9 changes: 9 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
trailingComma: 'all',
endOfLine: 'auto',
semi: true,
singleQuote: true,
printWidth: 120,
useTabs: true,
tabWidth: 4,
};
Loading

0 comments on commit 9c6d742

Please sign in to comment.