Skip to content

Commit

Permalink
migrate to eslint 9 and its flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Nov 13, 2024
1 parent 687f764 commit ba6b902
Show file tree
Hide file tree
Showing 365 changed files with 1,419 additions and 1,335 deletions.
9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

341 changes: 0 additions & 341 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion configs/app/features/adsBanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type AdsBannerFeaturePayload = {
mobile: AdButlerConfig;
};
};
}
};

const config: Feature<AdsBannerFeaturePayload> = (() => {
if (provider === 'adbutler') {
Expand Down
2 changes: 1 addition & 1 deletion configs/app/features/csvExport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import services from '../services';

const title = 'Export data to CSV file';

const config: Feature<{ reCaptcha: { siteKey: string }}> = (() => {
const config: Feature<{ reCaptcha: { siteKey: string } }> = (() => {
if (services.reCaptchaV3.siteKey) {
return Object.freeze({
title,
Expand Down
2 changes: 1 addition & 1 deletion configs/app/features/web3Wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const wallets = ((): Array<WalletType> | undefined => {

const title = 'Web3 wallet integration (add token or network to the wallet)';

const config: Feature<{ wallets: Array<WalletType>; addToken: { isDisabled: boolean }}> = (() => {
const config: Feature<{ wallets: Array<WalletType>; addToken: { isDisabled: boolean } }> = (() => {
if (wallets && wallets.length > 0) {
return Object.freeze({
title,
Expand Down
Loading

0 comments on commit ba6b902

Please sign in to comment.