This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@kodehort/eslint-config-kodehort

1.1.0 • Public • Published

eslint-config-kodehort

eslint-config-kodehort is a curated set of ESLint configurations that can be across our projects and can be used in your projects. It includes a set of rules that are designed to help you write clean, maintainable, and error-free code. It is inspired by the config in template-typescript-node-package but with further customisation and intended to be included as a dependency across our projects. Rather than add this all to a template it is included as a package enabling updates to be pulled forward into consuming projects.

Installation

  1. You'll first need to install ESLint:
npm install eslint --save-dev
  1. Next, install eslint-config-kodehort, run the following command:
npm install --save-dev kodehort/eslint-config-kodehort

Or:

pnpm add kodehort/eslint-config-kodehort -D

Usage

To use eslint-config-kodehort, you need to extend it in your ESLint configuration file. Here's an example .eslintrc.json file:

{
  "extends": ["kodehort"],
  "rules": {
    // your custom rules here
  }
}

Included Packages

eslint-config-kodehort includes the following packages:

  • @typescript-eslint/eslint-plugin: Provides ESLint rules specific to TypeScript.
  • @typescript-eslint/parser: Parses TypeScript code for ESLint.
  • eslint-config-next: Provides ESLint rules for Next.js projects.
  • eslint-config-turbo: Provides ESLint rules for Turbo projects.
  • eslint-plugin-security: Provides ESLint rules for security vulnerabilities.
  • eslint-config-prettier: Disables ESLint rules that conflict with Prettier.
  • eslint-plugin-deprecation: Provides ...

Readme

Keywords

none

Package Sidebar

Install

npm i @kodehort/eslint-config-kodehort

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

9.22 kB

Total Files

6

Last publish

Collaborators

  • alistairstead