1.0.4 • Published 5 years ago

@ai-foundation/eslint-config v1.0.4

Weekly downloads
33
License
ISC
Repository
github
Last release
5 years ago

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