Skip to content

This package provides Switch Dreams' eslint and prettier config as an extensible shared config.

Notifications You must be signed in to change notification settings

SwitchDreams/lint-config

Repository files navigation

@switchdreams/lint-config

This package provides Switch Dreams' eslint and prettier config as an extensible shared config.

Installation

pnpm add -D @switchdreams/lint-config eslint

Usage

Usage for eslint > 9.0.0

// eslint.config.mjs
import eslintConfigSwitchDreams from "@switchdreams/lint-config";

export default [
  ...eslintConfigSwitchDreams,
  {
    // Add your overrides here
  },
]
// .prettierrc.mjs
import switchDreamsConfig from "@switchdreams/lint-config/prettier";

const config = {
  ...switchDreamsConfig,
  // ...your overrides
};

export default config;

Requirements

  • Using tailwindcss

About

This package provides Switch Dreams' eslint and prettier config as an extensible shared config.

Resources

Stars

Watchers

Forks

Packages

No packages published