Skip to content

nishkohli96/eslint-config

Repository files navigation

nish1896-eslint-config

A set of developer-friendly eslint, stylistic, typescript and accessibility configuration rules to help you and fellow developers follow the industry-recommended coding practices for easier readability, maintenance and productivity !

Compatible with eslint v8 and v9!

This monorepo contains the source code for @nish1896/eslint-config, @nish1896/eslint-flat-config as well as the common docs 📖 shared by these two packages. Also included are example apps for Node.js, React, Vite and Next.js with to experiment with new and existing rules.

Setup

sh scripts/setup.sh

Runs the setup.sh in the scripts folder which:

  • Checks or installs yarn globally
  • Installs all the dependencies and devDependencies in the node_modules folder
  • Generate a tarball of both the eslint-configs in the packages folder
  • Links eslint-config to all the workspaces in examples/eslint-v8 folder
  • Links eslint-flat-config to all the workspaces in examples/eslint-v9 folder