@risedle/eslint-config
v0.1.2
Published
<h2> <span>@risedle/eslint-config</span> <span><a href="https://www.npmjs.com/package/@risedle/eslint-config"><img src="https://badgen.net/npm/v/@risedle/eslint-config?color=black&labelColor=black"></a></span> <span><a href="https://risedle.co
Readme
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@latestUsage
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.
