taiko icon indicating copy to clipboard operation
taiko copied to clipboard

Migrate from eslint to biome

Open zabil opened this issue 7 months ago • 1 comments

Is your feature request related to a problem? Please describe. Taiko uses eslint in the current project. However many of the dependencies that eslint uses are quickly being outdated and show issues in newer versions of node. For example

npm run test-docs                                                                                                                    15:08:34

> [email protected] test-docs
> cd test/docs-tests && node prepare.js && eleventy && cd ./gauge && npm install && npm test

(node:13250) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[11ty] Writing ./tmp/docs/_site/api/functionReturningPromiseOfObject/index.html from ./tmp/docs/api/api.njk
[11ty] Writing ./tmp/docs/_site/api/functionReturningPromise/index.html from ./tmp/docs/api/api.njk
npm list punycode                                                                                                                                                                              11:05:06
[email protected] /Users/zabilcm/projects/taiko
└─┬ [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └── [email protected]

Describe the solution you'd like Use biome instead of eslint. biome also bundles a formatter.

Note:

This would also involve fixing linting issues in the default setting of biome.

zabil avatar Jul 19 '24 10:07 zabil