2.0.0 • Published 1 year ago

eslint-config-rth v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

2.0.0

1 year ago

1.4.6

1 year ago

1.4.5

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago