As part of #23
some errors appeared that seem to be a conflict between Prettier and ESLint in the following files:
|
files: ['src/constants/chains.ts', 'src/constants/locales.ts', 'src/state/routing/utils.ts'], |
I didn't dive into the issue as the eslint configuration comes from @uniswap/eslint-config. I disabled the errors (see .eslintrc).
Description
- Although my IDE does not complain at first, running
yarn lint reports errors in the files mentioned above. For example
export type SupportedL1ChainId = typeof L1_CHAIN_IDS[number]
should be replaced with
export type SupportedL1ChainId = (typeof L1_CHAIN_IDS)[number]
...src/constants/locales.ts
36:31 error Replace typeof·SUPPORTED_LOCALES with (typeof·SUPPORTED_LOCALES) prettier/prettier
-
Run yarn lint --fix to fix these errors.
-
Now my IDE complains

As part of #23
some errors appeared that seem to be a conflict between Prettier and ESLint in the following files:
mauve-dex/.eslintrc.js
Line 9 in 5932302
I didn't dive into the issue as the eslint configuration comes from @uniswap/eslint-config. I disabled the errors (see .eslintrc).
Description
yarn lintreports errors in the files mentioned above. For exampleshould be replaced with
Run
yarn lint --fixto fix these errors.Now my IDE complains
