mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
- Updates to ESLint v10 and fixes lint failures. - Aligns tsconfig on Node 20, which is the current minimum required Node version. - Adds package-lock.json files to source control to avoid future random failures when dependencies update. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
14 lines
429 B
JavaScript
14 lines
429 B
JavaScript
import js from '@eslint/js';
|
|
import { defineConfig } from 'eslint/config';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config(js.configs.recommended, ...tseslint.configs.strictTypeChecked, {
|
|
languageOptions: {
|
|
ecmaVersion: 2023,
|
|
sourceType: 'module',
|
|
parserOptions: {
|
|
project: 'tsconfig.json',
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
});
|