generated from mizdra/npm-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from mizdra/update-project-config
Update project config
- Loading branch information
Showing
26 changed files
with
12,089 additions
and
8,489 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import { defineConfig } from 'vitest/config'; | ||
import GithubActionsReporter from 'vitest-github-actions-reporter'; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default defineConfig({ | ||
test: { | ||
include: ['**/*.e2e.ts'], | ||
reporters: process.env['GITHUB_ACTIONS'] ? ['default', new GithubActionsReporter()] : 'default', | ||
reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// @ts-check | ||
import mizdra from '@mizdra/eslint-config-mizdra'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{ ignores: ['dist', 'e2e'] }, | ||
...mizdra.baseConfigs, | ||
...mizdra.typescriptConfigs, | ||
...mizdra.nodeConfigs, | ||
{ | ||
files: ['**/*.{js,jsx,mjs,cjs}', '**/*.{ts,tsx,cts,mts}'], | ||
rules: { | ||
'n/no-extraneous-dependencies': 'off', // false positive | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.{ts,tsx,cts,mts}'], | ||
rules: { | ||
'@typescript-eslint/no-empty-object-type': 'off', | ||
}, | ||
}, | ||
mizdra.prettierConfig, | ||
]; |
Oops, something went wrong.