Skip to content

Commit 1c3f750

Browse files
committed
Initial commit
Created with bitjson/typescript-starter@586cdb3
0 parents  commit 1c3f750

24 files changed

Lines changed: 527 additions & 0 deletions

.cspell.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"version": "0.1",
3+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
4+
"language": "en",
5+
"words": [
6+
"bitjson",
7+
"bitauth",
8+
"cimg",
9+
"circleci",
10+
"codecov",
11+
"commitlint",
12+
"dependabot",
13+
"editorconfig",
14+
"esnext",
15+
"execa",
16+
"exponentiate",
17+
"globby",
18+
"libauth",
19+
"mkdir",
20+
"prettierignore",
21+
"sandboxed",
22+
"transpiled",
23+
"typedoc",
24+
"untracked"
25+
],
26+
"flagWords": [],
27+
"ignorePaths": [
28+
"package.json",
29+
"package-lock.json",
30+
"yarn.lock",
31+
"tsconfig.json",
32+
"node_modules/**"
33+
]
34+
}

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
max_line_length = 80
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
max_line_length = 0
15+
trim_trailing_whitespace = false

.eslintrc.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": { "project": "./tsconfig.json" },
5+
"env": { "es6": true },
6+
"ignorePatterns": ["node_modules", "build", "coverage"],
7+
"plugins": ["import", "eslint-comments", "functional"],
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:eslint-comments/recommended",
11+
"plugin:@typescript-eslint/recommended",
12+
"plugin:import/typescript",
13+
"plugin:functional/lite",
14+
"prettier",
15+
"prettier/@typescript-eslint"
16+
],
17+
"globals": { "BigInt": true, "console": true, "WebAssembly": true },
18+
"rules": {
19+
"@typescript-eslint/explicit-module-boundary-types": "off",
20+
"eslint-comments/disable-enable-pair": [
21+
"error",
22+
{ "allowWholeFile": true }
23+
],
24+
"eslint-comments/no-unused-disable": "error",
25+
"import/order": [
26+
"error",
27+
{ "newlines-between": "always", "alphabetize": { "order": "asc" } }
28+
],
29+
"sort-imports": [
30+
"error",
31+
{ "ignoreDeclarationSort": true, "ignoreCase": true }
32+
]
33+
}
34+
}

.github/CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Example Contributing Guidelines
2+
3+
This is an example of GitHub's contributing guidelines file. Check out GitHub's [CONTRIBUTING.md help center article](https://help.github.com/articles/setting-guidelines-for-repository-contributors/) for more information.

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- **I'm submitting a ...**
2+
[ ] bug report
3+
[ ] feature request
4+
[ ] question about the decisions made in the repository
5+
[ ] question about how to use this project
6+
7+
- **Summary**
8+
9+
- **Other information** (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
2+
3+
- **What is the current behavior?** (You can also link to an open issue here)
4+
5+
- **What is the new behavior (if this is a feature change)?**
6+
7+
- **Other information**:

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.idea/*
2+
.nyc_output
3+
build
4+
node_modules
5+
test
6+
src/**.js
7+
coverage
8+
*.log
9+
yarn.lock

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# package.json is formatted by package managers, so we ignore it here
2+
package.json

.vscode/extensions.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"esbenp.prettier-vscode",
5+
"eamodio.gitlens",
6+
"streetsidesoftware.code-spell-checker",
7+
]
8+
}

.vscode/launch.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
// To debug, make sure a *.spec.ts file is active in the editor, then run a configuration
5+
{
6+
"type": "node",
7+
"request": "launch",
8+
"name": "Debug Active Spec",
9+
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava",
10+
"runtimeArgs": ["debug", "--break", "--serial", "${file}"],
11+
"port": 9229,
12+
"outputCapture": "std",
13+
"skipFiles": ["<node_internals>/**/*.js"],
14+
"preLaunchTask": "npm: build"
15+
// "smartStep": true
16+
},
17+
{
18+
// Use this one if you're already running `yarn watch`
19+
"type": "node",
20+
"request": "launch",
21+
"name": "Debug Active Spec (no build)",
22+
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava",
23+
"runtimeArgs": ["debug", "--break", "--serial", "${file}"],
24+
"port": 9229,
25+
"outputCapture": "std",
26+
"skipFiles": ["<node_internals>/**/*.js"]
27+
// "smartStep": true
28+
}]
29+
}

0 commit comments

Comments
 (0)