README
AI-Foundation/eslint-config
AI Foundation's eslint defaults as an extensible shared config.
Installation
Minimal requirements
yarn add --dev eslint eslint-config-aif eslint-config-prettier eslint-plugin-filenames eslint-plugin-import eslint-plugin-prettier prettier
Optional install for React projects
yarn add --dev eslint-plugin-jsx-a11y eslint-plugin-react
Configure ESLint
To activate the ESLint configuration, make sure to extend whichever config fits your project.
- Use
@ai-foundation
for plain javascript projects - Use
@ai-foundation/eslint-config/react
for React projects