Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci
run: npm install

- name: Lint
run: npm run lint:check
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci
run: npm install

- name: Run tests with coverage
run: npm run test:coverage
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci
run: npm install

- name: Build
run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci
run: npm install

- name: Lint
run: npm run lint:check
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci
run: npm install

- name: Build
run: npm run build
Expand Down
26 changes: 22 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintConfigPrettier from 'eslint-config-prettier';
import simpleImportSort from 'eslint-plugin-simple-import-sort';
import sonarjs from 'eslint-plugin-sonarjs';
import unicorn from 'eslint-plugin-unicorn';
import simpleImportSort from 'eslint-plugin-simple-import-sort';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default [
// ── Ignore patterns ────────────────────────────────────────────
{ ignores: ['dist/', 'node_modules/', 'coverage/', 'examples/'] },
{
ignores: [
// Build outputs
'dist/',
'release/',
'coverage/',
// Dependencies
'node_modules/',
// Demo / docs / scratch
'examples/',
'docs/',
'todo/',
// Generated declaration files inside dist
'**/*.d.ts',
// Root config files that don't need linting
'jest.config.js',
'commitlint.config.mjs',
],
},

// ── File patterns ──────────────────────────────────────────────
{ files: ['**/*.{js,mjs,cjs,ts}'] },
Expand Down
Loading