Skip to content

Commit 09ee252

Browse files
Add all missing types (#723)
1 parent 20663a5 commit 09ee252

File tree

77 files changed

+2037
-1579
lines changed

Some content is hidden

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

77 files changed

+2037
-1579
lines changed

.eslintrc.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ module.exports = {
44
es2021: true,
55
jest: true,
66
},
7-
extends: [
8-
'airbnb-base',
9-
],
7+
extends: ['airbnb-base', 'plugin:@typescript-eslint/recommended'],
108
parser: '@typescript-eslint/parser',
119
parserOptions: {
1210
ecmaVersion: 'latest',
@@ -21,6 +19,9 @@ module.exports = {
2119
'class-methods-use-this': 'off',
2220
'no-console': ['error', { allow: ['warn', 'error'] }],
2321
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
22+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
23+
'@typescript-eslint/no-explicit-any': 'off',
24+
'@typescript-eslint/no-empty-function': 'off',
2425
'import/extensions': [
2526
'error',
2627
'ignorePackages',

README.md

+87-107
Large diffs are not rendered by default.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@parcel/packager-ts": "2.7.0",
3030
"@parcel/transformer-typescript-types": "2.7.0",
3131
"@types/jest": "^27.4.1",
32+
"@types/lodash.get": "^4.4.7",
3233
"@types/node": "^18.0.0",
3334
"@typescript-eslint/eslint-plugin": "^5.18.0",
3435
"@typescript-eslint/parser": "^5.18.0",
@@ -62,9 +63,10 @@
6263
"build": "yarn build:code-generate && yarn build:sources && yarn build:browserify",
6364
"jest": "jest",
6465
"test": "yarn lint && yarn jest",
66+
"test:debug": "open -a \"Brave Browser\" chrome://inspect && node --nolazy --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --colors --verbose",
6567
"eslint": "node_modules/.bin/eslint --ext .ts .",
6668
"lint": "yarn build:code-generate && yarn eslint",
67-
"lint:fix": "node_modules/.bin/eslint --fix --ext .ts .",
69+
"lint:fix": "yarn build:code-generate && node_modules/.bin/eslint --fix --ext .ts .",
6870
"readme": "jsdoc2md -f src/**/*.ts -f src/*.ts --configure ./jsdoc2md.json --template doc/README.hbs > README.md",
6971
"prepublishOnly": "pinst --disable && yarn install && yarn test && yarn build",
7072
"postpublish": "pinst --enable",

0 commit comments

Comments
 (0)