Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Bump packages #29

Merged
merged 1 commit into from
Aug 29, 2024
Merged
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
17 changes: 7 additions & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
const ts = require('typescript-eslint');

Check warning on line 1 in eslint.config.js

View workflow job for this annotation

GitHub Actions / build

A `require()` style import is forbidden
const js = require('@eslint/js');

Check warning on line 2 in eslint.config.js

View workflow job for this annotation

GitHub Actions / build

A `require()` style import is forbidden
const prettier = require('eslint-config-prettier');

Check warning on line 3 in eslint.config.js

View workflow job for this annotation

GitHub Actions / build

A `require()` style import is forbidden
const jest = require('eslint-plugin-jest');

Check warning on line 4 in eslint.config.js

View workflow job for this annotation

GitHub Actions / build

A `require()` style import is forbidden

module.exports = ts.config(
js.configs.recommended,
...ts.configs.recommended,
prettier,
{
plugins: {
jest: jest,
},
rules: {
'no-undef': 'warn',
'@typescript-eslint/no-var-requires': 'off',
},
},
{
ignores: ['lib/**'],
},
{
files: ['*.js'],
files: ['**/*.*js', '**/*.*ts'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-require-imports': 'warn',
},
},
{
files: ['tests/**/*.*js', 'tests/**/*.*ts'],
...jest.configs['flat/recommended'],
},
{
languageOptions: {
globals: {
Expand All @@ -33,6 +29,7 @@
exports: true,
module: true,
require: true,
process: true,
},
},
},
Expand Down
Loading