Skip to content

Commit 830c285

Browse files
committed
add project structure and acceptance test
1 parent 9e65d9b commit 830c285

File tree

10 files changed

+4772
-0
lines changed

10 files changed

+4772
-0
lines changed

javascript/.eslintrc.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true
5+
},
6+
"parser": "@typescript-eslint/parser",
7+
"parserOptions": {
8+
"project": "tsconfig.json",
9+
"sourceType": "module"
10+
},
11+
"plugins": [
12+
"import",
13+
"simple-import-sort",
14+
"n",
15+
"@typescript-eslint"
16+
],
17+
"extends": [
18+
"eslint:recommended",
19+
"plugin:import/typescript",
20+
"plugin:@typescript-eslint/eslint-recommended",
21+
"plugin:@typescript-eslint/recommended",
22+
"plugin:prettier/recommended"
23+
],
24+
"rules": {
25+
"import/no-cycle": "error",
26+
"n/no-extraneous-import": "error",
27+
"@typescript-eslint/ban-ts-ignore": "off",
28+
"@typescript-eslint/ban-ts-comment": "off",
29+
"@typescript-eslint/explicit-module-boundary-types": "off",
30+
"@typescript-eslint/explicit-function-return-type": "off",
31+
"@typescript-eslint/no-use-before-define": "off",
32+
"@typescript-eslint/interface-name-prefix": "off",
33+
"@typescript-eslint/member-delimiter-style": "off",
34+
"@typescript-eslint/no-explicit-any": "error",
35+
"@typescript-eslint/no-non-null-assertion": "error",
36+
"simple-import-sort/imports": "error",
37+
"simple-import-sort/exports": "error"
38+
}
39+
}

javascript/.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
dist/
2+
.idea/
3+
.nyc_output/
4+
coverage/
5+
node_modules/
6+
yarn.lock
7+
*.log
8+
.deps
9+
.tested*
10+
.linted
11+
.built*
12+
.compared
13+
.codegen
14+
acceptance/
15+
storybook-static
16+
*-go
17+
*.iml
18+
.vscode-test
19+
20+
# stryker temp files
21+
.stryker-tmp
22+
reports

javascript/.mocharc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"loader": "ts-node/esm",
3+
"extension": ["ts"],
4+
"recursive": true
5+
}

javascript/.prettierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"semi": false,
4+
"singleQuote": true,
5+
"printWidth": 100
6+
}

0 commit comments

Comments
 (0)