forked from particle-iot/spark-server
-
Notifications
You must be signed in to change notification settings - Fork 27
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
1 parent
6295d42
commit 04eca07
Showing
29 changed files
with
2,501 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,13 @@ | ||
packages | ||
|
||
# Don't check auto-generated stuff | ||
coverage | ||
build | ||
dist | ||
binaries | ||
node_modules | ||
|
||
# Cruft | ||
.DS_Store | ||
npm-debug.log | ||
.idea |
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,69 @@ | ||
{ | ||
"root": true, | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
}, | ||
"plugins": ["@typescript-eslint", "import", "prettier"], | ||
"extends": [ | ||
"airbnb-typescript/base", | ||
"prettier", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:import/typescript", | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"eol-last": 2, | ||
"import/first": 0, | ||
"import/newline-after-import": 0, | ||
"import/no-duplicates": 0, | ||
"import/no-extraneous-dependencies": 0, | ||
"import/no-named-as-default": 0, | ||
"import/no-unresolved": 2, | ||
"import/prefer-default-export": 0, | ||
"newline-per-chained-call": 0, | ||
"no-confusing-arrow": 0, | ||
"no-console": 0, | ||
"no-duplicate-imports": 0, | ||
"no-mixed-operators": 0, | ||
"no-underscore-dangle": 0, | ||
"no-use-before-define": 0, | ||
"class-methods-use-this": "off", | ||
"no-promise-executor-return": "off", | ||
"quotes": [ | ||
2, | ||
"single", | ||
{ | ||
"avoidEscape": true, | ||
}, | ||
], | ||
"semi": 2, | ||
"no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", // or "error" | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_", | ||
"caughtErrorsIgnorePattern": "^_", | ||
}, | ||
], | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": ["parameter", "variable"], | ||
"leadingUnderscore": "forbid", | ||
"filter": { | ||
// keep this one open for destructuring | ||
"regex": "_*", | ||
"match": false, | ||
}, | ||
"format": null, | ||
}, | ||
{ | ||
"selector": "parameter", | ||
"leadingUnderscore": "require", | ||
"format": null, | ||
"modifiers": ["unused"], | ||
}, | ||
], | ||
}, | ||
} |
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,60 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
/data |
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,6 @@ | ||
{ | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} |
Oops, something went wrong.