Skip to content

Commit 25d591c

Browse files
committed
polish(payments-next): remove unused code, clean up linting rules
Because: * This code was not used anywhere * payments-next was failing the lint check due to rules, rather than tangible issues This commit: * removes unused code * updates payments next eslintrc rules Closes #N/A
1 parent 21b6d03 commit 25d591c

4 files changed

Lines changed: 2 additions & 521 deletions

File tree

apps/payments/next/.eslintrc.json

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,12 @@
11
{
2-
"extends": [
3-
"next",
4-
"next/core-web-vitals",
5-
"../../../.eslintrc.json"
6-
],
7-
"ignorePatterns": ["!**/*", ".next/**/*"],
2+
"extends": ["next", "next/core-web-vitals", "../../../.eslintrc.json"],
3+
"ignorePatterns": ["!**/*", ".next/**/*", "build/**/*"],
84
"overrides": [
95
{
106
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
11-
"rules": {
12-
"@next/next/no-html-link-for-pages": [
13-
"error",
14-
"apps/payments/next/pages"
15-
]
16-
}
17-
},
18-
{
19-
"files": ["*.ts", "*.tsx"],
20-
"rules": {}
21-
},
22-
{
23-
"files": ["*.js", "*.jsx"],
247
"rules": {}
258
}
269
],
27-
"rules": {
28-
"@next/next/no-html-link-for-pages": "off"
29-
},
3010
"env": {
3111
"jest": true
3212
}

0 commit comments

Comments
 (0)