3.0.1 • Published 8 months ago
@lzear/eslint-config v3.0.1
ESLint Config
My preferred ESLint configuration. Forked from azat-io/eslint-config, with some modifications including:
- Use recommended presets from the plugins instead of managing the rules manually.
- Changing rules to my personal preferences.
Usage
Install package:
yarn add --D eslint @lzear/eslint-config
Create ESLint configuration file
eslint.config.js
:import eslintConfig from '@lzear/eslint-config' export default eslintConfig({ perfectionist: true, typescript: true, react: true, node: true, })
Add script for
package.json
:{ "scripts": { "test:js": "eslint \"**/*.{js,ts,jsx,tsx,json}\"" } }
License
MIT © Azat S.