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

Commit

Permalink
BREAKING: TS Refactor (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
gantunesr authored Mar 28, 2023
1 parent c83cda6 commit 3e70b8a
Show file tree
Hide file tree
Showing 24 changed files with 3,918 additions and 2,408 deletions.
10 changes: 10 additions & 0 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ignores": [
"@lavamoat/allow-scripts",
"@metamask/auto-changelog",
"@types/*",
"prettier-plugin-packagejson",
"ts-node",
"typedoc"
]
}
27 changes: 25 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,36 @@
module.exports = {
root: true,
extends: ['@metamask/eslint-config', '@metamask/eslint-config-commonjs'],

extends: ['@metamask/eslint-config'],

overrides: [
{
files: ['test/**/*.js'],
files: ['*.ts'],
extends: ['@metamask/eslint-config-typescript'],
},

{
files: ['*.js'],
parserOptions: {
sourceType: 'script',
},
extends: ['@metamask/eslint-config-nodejs'],
},

{
files: ['*.test.ts', '*.test.js'],
extends: [
'@metamask/eslint-config-jest',
'@metamask/eslint-config-nodejs',
],
},
],

ignorePatterns: [
'!.eslintrc.js',
'!.prettierrc.js',
'dist/',
'docs/',
'.yarn/',
],
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ coverage
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# distribution
dist
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.yarnrc.yml
Loading

0 comments on commit 3e70b8a

Please sign in to comment.