From f5cc2ef57120924a3012511a193c6471b50efcfd Mon Sep 17 00:00:00 2001 From: Pawel Zelawski Date: Thu, 10 Apr 2025 16:27:24 +0200 Subject: chore: bump version to 1.0.0 for stable release - Update package.json version from 0.1.0 to 1.0.0 - This change reflects that the library is now production-ready - The version number follows semantic versioning conventions - Future changes will be treated as major version updates - Add ESLint configuration for TypeScript - Create separate TypeScript config for examples - Ignore dist directory in linting - Set TypeScript no-explicit-any rule to warning level --- eslint.config.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 eslint.config.js (limited to 'eslint.config.js') diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..63e7097 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,27 @@ +import js from '@eslint/js'; +import tseslint from '@typescript-eslint/eslint-plugin'; +import tseslintParser from '@typescript-eslint/parser'; +import prettier from 'eslint-config-prettier'; + +export default [ + js.configs.recommended, + { + ignores: ['dist/**/*'], + files: ['**/*.ts'], + languageOptions: { + parser: tseslintParser, + parserOptions: { + project: ['./tsconfig.json', './examples/tsconfig.json'], + tsconfigRootDir: '.', + }, + }, + plugins: { + '@typescript-eslint': tseslint, + }, + rules: { + ...tseslint.configs.recommended.rules, + ...prettier.rules, + '@typescript-eslint/no-explicit-any': 'warn', + }, + }, +]; \ No newline at end of file -- cgit v1.2.3