@wenkai.wu/eslint-config

2.2.1 • Public • Published

@wenkai.wu/eslint-config

Installation and Usage

npm install eslint "@wenkai.wu/eslint-config" --save-dev
# or
yarn add eslint "@wenkai.wu/eslint-config" --dev
# or
pnpm add -D "@wenkai.wu/eslint-config"
npx eslint --init

eslint.config.js:

import configs from "@wenkai.wu/eslint-config";

export default [
    ...configs,
];
import configs, { globals } from "@wenkai.wu/eslint-config";

export default [
    ...configs,
    {
        ignores: ["docs/"],
    },
    {
        files: ["debug/*.js"],
        languageOptions: { globals: { ...globals.browser } },
    },
];

Readme

Keywords

Package Sidebar

Install

npm i @wenkai.wu/eslint-config

Weekly Downloads

12

Version

2.2.1

License

ISC

Unpacked Size

4.56 kB

Total Files

4

Last publish

Collaborators

  • kaven-npm