Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 3e70b8a

Browse files
authored
BREAKING: TS Refactor (#202)
1 parent c83cda6 commit 3e70b8a

24 files changed

+3918
-2408
lines changed

.depcheckrc.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"ignores": [
3+
"@lavamoat/allow-scripts",
4+
"@metamask/auto-changelog",
5+
"@types/*",
6+
"prettier-plugin-packagejson",
7+
"ts-node",
8+
"typedoc"
9+
]
10+
}

.eslintrc.js

+25-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,36 @@
11
module.exports = {
22
root: true,
3-
extends: ['@metamask/eslint-config', '@metamask/eslint-config-commonjs'],
3+
4+
extends: ['@metamask/eslint-config'],
5+
46
overrides: [
57
{
6-
files: ['test/**/*.js'],
8+
files: ['*.ts'],
9+
extends: ['@metamask/eslint-config-typescript'],
10+
},
11+
12+
{
13+
files: ['*.js'],
14+
parserOptions: {
15+
sourceType: 'script',
16+
},
17+
extends: ['@metamask/eslint-config-nodejs'],
18+
},
19+
20+
{
21+
files: ['*.test.ts', '*.test.js'],
722
extends: [
823
'@metamask/eslint-config-jest',
924
'@metamask/eslint-config-nodejs',
1025
],
1126
},
1227
],
28+
29+
ignorePatterns: [
30+
'!.eslintrc.js',
31+
'!.prettierrc.js',
32+
'dist/',
33+
'docs/',
34+
'.yarn/',
35+
],
1336
};

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ coverage
1313
!.yarn/releases
1414
!.yarn/sdks
1515
!.yarn/versions
16+
17+
# distribution
18+
dist

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.yarnrc.yml

0 commit comments

Comments
 (0)