npm.io
2.3.1 • Published 3 months ago

@ryanep/eslint-config

Licence
MIT
Version
2.3.1
Deps
24
Size
146 kB
Vulns
0
Weekly
0

Screenshot

@ryanep/eslint-config

A personal ESLint config.

Introduction

This project is a personal ESLint configuration to ensure code quality and consistency across multiple personal projects.

Usage

Install the packages using npm install --save-dev eslint @ryanep/eslint-config.

Create a new eslint.config.js file and add the following:

import { createConfig } from "@ryanep/eslint-config";

export const eslintConfig = createConfig();

export default eslintConfig;

Enable optional features by passing the relevant flag:

import { createConfig } from "@ryanep/eslint-config";

export const eslintConfig = createConfig({
  features: ["tailwind", "react"],
});

export default eslintConfig;

License

Licensed under the MIT license.

Keywords