Skip to content

Commit d3d083b

Browse files
Merge pull request #86 from bufferoverflow/refactor-typescript
refactor: migrating to typescript 3.7
2 parents 933cba3 + 74e9e8e commit d3d083b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+4852
-13843
lines changed

.babelrc

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
11
{
2-
"env": {
3-
"test": {
4-
"presets": [
5-
["env", {
6-
"targets": { "node": "current" }
7-
}],
8-
"flow"
9-
],
10-
"plugins": []
11-
},
12-
"registry": {
13-
"presets": [
14-
["env", {
15-
"targets": { "node": "current" }
16-
}],
17-
"flow"
18-
],
19-
"plugins": []
20-
},
21-
"registry-docker": {
22-
"presets": [
23-
["env", {
24-
"targets": { "node": "10" }
25-
}],
26-
"flow"
27-
],
28-
"plugins": []
29-
},
30-
"development": {}
31-
}
2+
"presets": [["@verdaccio"]]
323
}

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ build/
33
flow-typed/
44
coverage/
55
tests-report/
6+
test/unit/partials/

.eslintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"extends": [
3+
"@verdaccio"
4+
],
5+
"rules": {
6+
"@typescript-eslint/no-var-requires": 0,
7+
"@typescript-eslint/ban-ts-ignore": 0,
8+
"@typescript-eslint/no-inferrable-types": ["warn"],
9+
"@typescript-eslint/no-empty-function": ["warn"],
10+
"@typescript-eslint/no-this-alias": ["warn"],
11+
"@typescript-eslint/no-use-before-define": 0,
12+
"@typescript-eslint/array-type": ["warn"],
13+
"@typescript-eslint/no-explicit-any": 0,
14+
"@typescript-eslint/indent": 0,
15+
"@typescript-eslint/explicit-function-return-type": 0,
16+
"@typescript-eslint/interface-name-prefix": 0,
17+
"@typescript-eslint/explicit-member-accessibility": 0
18+
}
19+
}

.eslintrc.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.flowconfig

Lines changed: 0 additions & 13 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ coverage/
55
tests-report/
66
test-storage*
77
yarn-error.log
8+
.idea/*

.prettierrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"useTabs": false,
3+
"printWidth": 160,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"requirePragma": true,
7+
"bracketSpacing": true,
8+
"jsxBracketSameLine": true,
9+
"trailingComma": "es5",
10+
"semi": true,
11+
"parser": "typescript"
12+
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ script:
77
- yarn install
88
- commitlint-travis
99
- yarn license
10-
- yarn lint
10+
- yarn lint:ts
1111
- yarn code:build
1212
- yarn test:all

flow-typed/.editorconfig

Lines changed: 0 additions & 2 deletions
This file was deleted.

flow-typed/npm/@commitlint/cli_vx.x.x.js

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)