1.0.2 • Published 2 years ago
@zrev2220/eslint-config v1.0.2
@zrev2220/eslint-config
My personal ESLint config.
Works for JavaScript or TypeScript projects, with or without React.
Usage
Install:
npm install --save-dev eslint @zrev2220/eslint-config eslint-config-prettier standardCreate/edit .eslintrc:
{
"extends": "@zrev2220/eslint-config" // or just "@zrev2220" also works
}Lint your code:
npx eslint --ignore-path .gitignore --max-warnings 0 "**/*.{js,jsx,ts,tsx}"See also Using a Shareable Config.