@robot-inventor/eslint-config
v12.0.5
Published
My ESLint config preset
Readme
eslint-config
@Robot-Inventor's ESLint config preset.
Installation
Then, install the package:
npm install --save-dev @robot-inventor/eslint-configUsage
Add the following to your eslint.config.js file:
import { eslintConfig } from "@robot-inventor/eslint-config";
export default eslintConfig;If you don't need JSDoc rules, you can use the eslintConfigNoJSDoc instead.
import { eslintConfigNoJSDoc } from "@robot-inventor/eslint-config";
export default eslintConfigNoJSDoc;You can extend or override the config as needed.
import { eslintConfig } from "@robot-inventor/eslint-config";
export default [
...eslintConfig,
{
rules: {
// Your rules here
}
}
];