Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

atomixinteractions/eslint-config

Repository files navigation

Atomix ESLint Config

JavaScript

  1. Install the correct versions of each package, which are listed by the command:
npm info "@atomix/eslint-config" peerDependencies
  1. Install all dependecies:
npx install-peerdeps --dev @atomix/eslint-config
  1. Add next line to your .eslintrc:
{
  "extends": "@atomix/eslint-config"
}

React

  1. Install the correct versions of each package, which are listed by the command:
npm info "@atomix/eslint-config-react" peerDependencies
  1. Install all dependecies:
npx install-peerdeps --dev @atomix/eslint-config-react
  1. Add next line to your .eslintrc:
{
  "extends": "@atomix/eslint-config-react"
}