Skip to content

Get rid of require() in eslit.config.js #2147

@trakhimenok

Description

@trakhimenok

Remove all next lint hints from **/eslint.config.js files:

// eslint-disable-next-line @typescript-eslint/no-require-imports

Like:

// eslint-disable-next-line @typescript-eslint/no-require-imports
const baseConfig = require('../../eslint.config.js');

// eslint-disable-next-line @typescript-eslint/no-require-imports
const { sneatLibConfig } = require('../../eslint.lib.config.js');

module.exports = [...baseConfig, ...sneatLibConfig(__dirname)];

Therequire() should be replaced with import ... from ....

The build should be passing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI/CDContinuous Integration / Continuous Deliveryhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions