Skip to content

Commit

Permalink
Initial repository setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinjil committed Feb 27, 2020
1 parent 4123643 commit 1262f65
Show file tree
Hide file tree
Showing 9 changed files with 4,294 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: {
node: true,
mocha: true
},
extends: [
"airbnb-typescript/base",
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'linebreak-style': process.env.NODE_ENV === 'production' ? ['error', 'windows'] : ['off', 'windows'],
},
parserOptions: {
project: './tsconfig.json',
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.vscode
.nyc_output/
node_modules
out
reports
14 changes: 14 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extension": [
".ts"
],
"reporter": [
"text",
"html"
],
"all": true,
"include": [
"out/**/*"
],
"report-dir": "./reports/coverage"
}
Loading

0 comments on commit 1262f65

Please sign in to comment.