turmag-eslint-config

2.0.65 • Public • Published

turmag-eslint-config

Turmag's reusable eslint-config

Languages

Web

Data

Features

Zero-Dependency
No need to install 3 plugins and 3 parsers: each language's latest plugin is bundled and configured.

Zero-Config
No need to remember each plugin's parserOptions;

Installation

  1. You'll first need to install ESLint:
npm i eslint@^9.15 --save-dev

# Or run this to use yarn
yarn add eslint@^9.15 --dev

# Or run this to use pnpm
pnpm add eslint@^9.15 --save-dev
  1. Install turmag-eslint-config.
npm i turmag-eslint-config --save-dev

# Or run this to use yarn
yarn add turmag-eslint-config --dev

# Or run this to use pnpm
pnpm add turmag-eslint-config --save-dev
  1. Create eslint.config.js in your project root.

Usage

In eslint.config.js:

  • Import config from turmag-eslint-config
import config from `'turmag-eslint-config'`;
  • Use this config with your optional rules:
import config from 'turmag-eslint-config';

export default [

    ...config,

    // Your rules there
    {
        rules: {
            ...
        },
    },
];

License

This code is licensed under the MIT License.

Package Sidebar

Install

npm i turmag-eslint-config

Weekly Downloads

31

Version

2.0.65

License

MIT

Unpacked Size

14.5 kB

Total Files

4

Last publish

Collaborators

  • turmag