Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 9832d79

Browse files
Update ESLint configuration (#104)
* Update ESLint configuration * Update CHANGELOG.md * Updates * upd * Update version --------- Co-authored-by: Vitali Pinchuk <vit.pinchuck@gmail.com>
1 parent 210fa05 commit 9832d79

File tree

6 files changed

+3554
-3259
lines changed

6 files changed

+3554
-3259
lines changed

.eslintignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to **Business Input Data Source** will be documented in this file. This changelog follows the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Thank you for using our plugin! For any questions or contributions, feel free to visit our [GitHub repository](https://github.com/VolkovLabs/business-input).
44

5+
## [5.1.0] - Unreleased
6+
7+
### Changed
8+
9+
- Update ESLint configuration ([#104](https://github.com/VolkovLabs/business-input/pull/104)).
10+
511
## [5.0.0] - 2025-07-21
612

713
### Breaking Changes
@@ -11,6 +17,7 @@ All notable changes to **Business Input Data Source** will be documented in this
1117
### Features & Enhancements
1218

1319
- Updated to Grafana 12 and dependencies ([#103](https://github.com/VolkovLabs/business-input/pull/103)).
20+
- Update ESLint configuration ([#104](https://github.com/VolkovLabs/business-input/pull/104)).
1421

1522
## [4.5.0] - 2024-12-23
1623

eslint.config.mjs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import tsParser from '@typescript-eslint/parser';
2+
import { defineConfig, globalIgnores } from 'eslint/config';
3+
import prettierConfig from 'eslint-config-prettier/flat';
4+
import grafanaConfig from '@grafana/eslint-config/flat.js';
5+
import eslintConfig from '@volkovlabs/eslint-config';
6+
7+
/**
8+
* Config
9+
*/
10+
export default defineConfig(
11+
...grafanaConfig,
12+
eslintConfig,
13+
prettierConfig,
14+
{
15+
languageOptions: {
16+
parser: tsParser,
17+
parserOptions: {
18+
project: ['tsconfig.json'],
19+
sourceType: 'module',
20+
},
21+
},
22+
rules: {
23+
'@typescript-eslint/no-empty-object-type': 'off',
24+
},
25+
},
26+
globalIgnores([
27+
'.config/*',
28+
'.prettierrc.js',
29+
'coverage/*',
30+
'dist/*',
31+
'eslint.config.mjs',
32+
'jest*.js',
33+
'playwright.config.ts',
34+
'src/__mocks__/**',
35+
'src/**/*.test.ts*',
36+
'test/*',
37+
])
38+
);

0 commit comments

Comments
 (0)