Skip to content

UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js

Notifications You must be signed in to change notification settings

upleveled/eslint-config-upleveled

Repository files navigation

UpLeveled ESLint Config

UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js

Screenshot of errors and warnings generated by this configuration

Setup

To add ESLint configuration to a project, install the dependencies and add the config files:

pnpm add --save-dev eslint-config-upleveled@latest
pnpm upleveled-eslint-install

Verify Setup

To verify that the configuration is working properly, you can try pasting the contents of __tests__/index.js into a new file and seeing whether you get the same warning messages as in the screenshot at the beginning of the readme (you may need to hover over the words underlined with orange / red squiggly lines).