Skip to content

Commit

Permalink
Release 1.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Nov 18, 2024
1 parent 3118e90 commit 4f240c6
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 661 deletions.
17 changes: 4 additions & 13 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import eslintPluginPrettier from 'eslint-plugin-prettier/recommended';
export default [
{
name: 'global ignores',
ignores: ['dist/', 'build/', 'node_modules/', 'coverage/', 'frontend/'],
ignores: ['**/dist/', '**/build/', '**/node_modules/', '**/coverage/', '**/frontend/'],
},
eslint.configs.recommended,
...tseslint.configs.strict,
Expand All @@ -20,13 +20,6 @@ export default [
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
/*
parser: tseslint.parser,
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: import.meta.dirname,
},
*/
},
linterOptions: {
reportUnusedDisableDirectives: 'warn',
Expand All @@ -41,7 +34,7 @@ export default [
{
name: 'javascript',
files: ['**/*.js'],
// ...tseslint.configs.disableTypeChecked,
...tseslint.configs.disableTypeChecked,
},
{
name: 'typescript',
Expand All @@ -66,13 +59,11 @@ export default [
{
name: 'jest',
files: ['**/__test__/*', '**/*.test.ts', '**/*.spec.ts'],
// ...tseslint.configs.disableTypeChecked,
plugins: {
'@typescript-eslint': tseslint.plugin,
jest: jesteslint,
},
rules: {
...jesteslint.configs['flat/recommended'].rules,
},
...tseslint.configs.disableTypeChecked,
...jesteslint.configs['flat/recommended'],
},
];
Loading

0 comments on commit 4f240c6

Please sign in to comment.