Skip to content

Commit 17cd2ba

Browse files
Release 25.3 (#103)
* Version updated dts-cli tool removed from tool set Configure format and lint with eslint Added snippets to format and lint targets Configure build with tsup * Format eslint.config.mjs file --------- Co-authored-by: Denis Averin <[email protected]>
1 parent 781c413 commit 17cd2ba

37 files changed

+4529
-11950
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![npm](https://img.shields.io/npm/v/aspose-barcode-cloud-node)](https://www.npmjs.com/package/aspose-barcode-cloud-node)
66

77
+ API version: 4.0
8-
+ Package version: 25.2.0
8+
+ Package version: 25.3.0
99

1010
## SDK and API Version Compatibility:
1111

eslint.config.mjs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import tseslint from '@typescript-eslint/eslint-plugin';
2+
import tsParser from '@typescript-eslint/parser';
3+
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
4+
5+
export default [
6+
{
7+
files: ['src/**/*.ts'], // Apply ESLint to TypeScript files
8+
languageOptions: {
9+
parser: tsParser, // Use TypeScript parser
10+
parserOptions: {
11+
project: './tsconfig.json', // TypeScript config file
12+
},
13+
},
14+
plugins: {
15+
'@typescript-eslint': tseslint, // TypeScript rules
16+
},
17+
},
18+
{
19+
files: ['test/**/*.ts'], // Apply ESLint to TypeScript files
20+
languageOptions: {
21+
parser: tsParser, // Use TypeScript parser
22+
parserOptions: {
23+
project: null,
24+
},
25+
},
26+
plugins: {
27+
'@typescript-eslint': tseslint, // TypeScript rules
28+
},
29+
},
30+
{
31+
files: ['snippets/**/*.js'],
32+
languageOptions: {
33+
ecmaVersion: 'latest',
34+
sourceType: 'script',
35+
},
36+
},
37+
eslintPluginPrettierRecommended,
38+
];

0 commit comments

Comments
 (0)