Detalhes do pacote

eslint-config-ultra-refined

bricss467MIT3.8.0

Ultra refined ESLint shareable config 📜

eslint, eslint-config, eslint-plugin, eslint-stylistic

readme (leia-me)

Ultra refined ESLint shareable config 📜

This package provides all-purpose, extensible ESLint config for ESNext syntax.
With an emphasis on readability and counterchecks against implicit code flaws.

Prerequisites

For Windows machines:

  • Git with Unix tools ☑️
npm config set script-shell "C:\\\Program Files\\\Git\\\bin\\\bash.exe"  
npm config ls -l | grep shell

Installation

npm install eslint-config-ultra-refined --save-dev

Install peer dependencies manually if needed.
You will see the prompt in the shell output upon installation.

Usage

In eslint.config.js file:

import ultraRefined from 'eslint-config-ultra-refined';
import {
  defineConfig,
  globalIgnores,
} from 'eslint/config';

export default defineConfig([
  globalIgnores(['dist']),
  {
    extends: [ultraRefined],
    // Your modifications
    rules: {
      // Your modifications
    },
  },
]);