Skip to content

radoslawgrochowski/eslint-config

Repository files navigation

@radoslawgrochowski/eslint-config

Default Eslint configuration for my projects.

Quick start

  1. Install package and dependencies using your favorite manager
$ pnpm i -D @radoslawgrochowski/eslint-config eslint prettier
  1. Setup eslint.config.mjs:
// @ts-check
import config from "@radoslawgrochowski/eslint-config";
export default [
  // add project rules
  { ignores: ["**/.next"] },

  ...config,
];
  1. Update package.json's scripts:
{
  "scripts": {
    "lint": "eslint . --report-unused-disable-directives --max-warnings 0",
    "lint:fix": "pnpm lint --fix"
  }
}
  1. Setup CI

See this project's lint workflow as an example. Don't forget to set up "Require status checks to pass before merging".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •