Skip to content

Migrate from eslint to biome #2735

@zabil

Description

@zabil

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

> taiko@1.4.1 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
taiko@1.4.1 /Users/zabilcm/projects/taiko
└─┬ eslint@8.57.0
  └─┬ ajv@6.12.6
    └─┬ uri-js@4.4.1
      └── punycode@2.3.1

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions