2.0.4 • Published 10 months ago

@harmonix-hub/eslint v2.0.4

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

@harmonix-hub/eslint

This package provides ESLint configurations for projects developed with Harmonix hub.

Installation

You can install this ESLint configuration package using npm.

npm install eslint-config-prettier @harmonix-hub/eslint --save-dev

Usage

To use the ESLint configurations provided by this package, create an ESLint configuration file in your project directory (e.g., eslint.config.mjs), apply the configuration from @harmonix-hub/eslint.

Example eslint.config.mjs configuration file:

import prettierConfig from "eslint-config-prettier";
import hxh from "@harmonix-hub/eslint";

/** @type import("eslint").Linter.Config */
export default [
  {
    files: ["*.ts", "*.tsx"]
  },
  {
    ignores: ["dist", "node_modules", "**/*.js"]
  },
  ...hxh.tsConfigs,
  hxh.reactConfigs,
  hxh.jestConfigs,
  prettierConfig,
];

By extending @harmonix-hub/eslint, you inherit the recommended ESLint rules for Harmonix hub projects. You can also add or override rules in your project-specific ESLint configuration file.

1.3.7

12 months ago

2.0.3

10 months ago

2.0.2

10 months ago

2.0.4

10 months ago

2.1.0

10 months ago

2.0.0

11 months ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago