2.0.0 • Published 7 months ago

eslint-config-rth v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

eslint-config-rth

The ESLint configurations used by Retinbox Software.

Installation

npm install --save-dev @eslint/eslintrc eslint-config-rth

Usage

Create an eslint.config.js file in your project root with the following content:

import { FlatCompat } from "@eslint/eslintrc";
import js from "@eslint/js";
import path from "node:path";
import { fileURLToPath } from "node:url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
	allConfig: js.configs.all,
	baseDirectory: __dirname,
	recommendedConfig: js.configs.recommended,
});

export default [...compat.extends("rth")];
1.4.7

7 months ago

2.0.0

7 months ago

1.4.6

8 months ago

1.4.5

9 months ago

1.4.4

10 months ago

1.4.3

10 months ago

1.4.2

11 months ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago