-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
79 changed files
with
7,396 additions
and
5,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module.exports = { | ||
extends: 'standard-with-typescript', | ||
parserOptions: { | ||
project: './tsconfig.json' | ||
}, | ||
rules: { | ||
'@typescript-eslint/no-non-null-assertion': 0, | ||
// we should be able to use if (xxx) just like C++ where xxx can be non boolean value | ||
'@typescript-eslint/strict-boolean-expressions': 0, | ||
'@typescript-eslint/brace-style': 0 | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['./*.ts'], | ||
rules: { | ||
// https://github.com/typescript-eslint/typescript-eslint/blob/ef88a696a157f617d38ce6d49207a4a4a089a19b/packages/eslint-plugin/docs/rules/naming-convention.md#enforce-that-interface-names-do-not-begin-with-an-i | ||
'@typescript-eslint/naming-convention': [ | ||
'error', | ||
{ | ||
selector: 'interface', | ||
format: ['PascalCase'], | ||
custom: { | ||
regex: '^I[A-Z]', | ||
match: true | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
.*.swp | ||
.*.swo | ||
.vscode | ||
.vscode | ||
lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Tests | ||
test | ||
|
||
# sources are inlined | ||
src | ||
|
||
# CI | ||
.github | ||
|
||
# Eslint | ||
.eslintignore | ||
.eslintrc.js | ||
commitlint.config.js | ||
.prettierignore | ||
.prettierrc | ||
|
||
# Internal jest config | ||
jest.config.js | ||
|
||
# Tsconfig | ||
tsconfig.build.json | ||
tsconfig.json | ||
tsconfig.spec.json | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Dependency directories | ||
node_modules | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# others | ||
*.tgz | ||
.editorconfig | ||
.npmignore | ||
.npmrc | ||
.vscode | ||
.cache | ||
.gitattributes | ||
.gitignore | ||
icon.png | ||
.idea | ||
.husky |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.