3.0.0 • Published 3 years ago

eslint-config-atmedia v3.0.0

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

eslint-config-atmedia

An ESLint config for our JavaScript projects

Tests

Usage

  1. Install the package and its dependencies in your project

yarn add -D eslint eslint-config-atmedia prettier eslint-plugin-{prettier,react,react-hooks,import,jsx-a11y}

  1. Add an .eslintrc.js to your project and extend the config
//.eslintrc
module.exports = {
  extends: ['atmedia']
};

We also provide a minimal config for WordPress projects. To use it:

//.eslintrc
module.exports = {
  extends: ['atmedia', 'atmedia/wp']
};