@risedle/eslint-config

0.1.2 • Public • Published

@risedle/eslint-config

Shared ESLint configuration.

Installation

Use the following command to install @risedle/eslint-config:

# npm
npm install --save-dev --save-exact eslint typescript @risedle/eslint-config@latest

# pnpm
pnpm add --save-dev --save-exact eslint typescript @risedle/eslint-config@latest

Usage

Add the following fields in your .eslintrc.js:

module.exports = {
    extends: ["@risedle/eslint-config"],
    ignorePatterns: ["dist/*", ".eslintrc.js"],
};

Adjust the ignorePatterns based on your project requirements.

Then add the following script in your package.json:

{
    "scripts": {
        "lint": "eslint ."
    }
}

You can use pnpm lint or npm run lint to run the linter.

Resources

Readme

Keywords

none

Package Sidebar

Install

npm i @risedle/eslint-config

Homepage

risedle.com

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

2.61 kB

Total Files

4

Last publish

Collaborators

  • pyk