Skip to content

Commit 14f4970

Browse files
committed
fix: use eslint-graph-config for data-edge
1 parent 6c06202 commit 14f4970

23 files changed

+1809
-12132
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
# contracts
55
cd packages/contracts
66
npx --no-install lint-staged
7+
8+
# data-edge
9+
cd ../data-edge
10+
npx --no-install lint-staged

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"packages/eslint-graph-config",
1212
"packages/sdk",
1313
"packages/solhint-graph-config",
14-
"packages/token-distribution"
14+
"packages/token-distribution",
15+
"packages/data-edge"
1516
],
1617
"scripts": {
1718
"postinstall": "husky install",

packages/data-edge/.eslintignore

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

packages/data-edge/.eslintrc

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

packages/data-edge/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/data-edge/.husky/commit-msg

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

packages/data-edge/.husky/pre-commit

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

packages/data-edge/.prettierrc.json

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

packages/data-edge/commitlint.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/data-edge/eslint.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const config = require('eslint-graph-config')
2+
3+
module.exports = [
4+
...config.default,
5+
{
6+
rules: {
7+
'@typescript-eslint/no-unsafe-assignment': 'off',
8+
'@typescript-eslint/no-var-requires': 'off',
9+
'@typescript-eslint/no-unsafe-call': 'off',
10+
'@typescript-eslint/no-unsafe-member-access': 'off',
11+
'@typescript-eslint/no-unsafe-argument': 'off',
12+
},
13+
},
14+
{
15+
ignores: ['**/reports/*'],
16+
},
17+
]

0 commit comments

Comments
 (0)