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

Bump eslint from 8.57.0 to 9.6.0 #219

Merged
merged 3 commits into from
Jul 2, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
adjust eslint.config.js
ghaiszaher committed Jul 2, 2024
commit 520a35098478d8907b07a192cee0bc6341eb59cb
30 changes: 30 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const globals = require('globals');
const js = require('@eslint/js');
const {FlatCompat} = require('@eslint/eslintrc');

const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

module.exports = [{
ignores: ['dist/*'],
}, ...compat.extends('eslint:recommended'), {
languageOptions: {
globals: {
...globals.commonjs,
...globals.node,
...globals.jest,
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},

ecmaVersion: 2018,
sourceType: 'commonjs',
},

rules: {
indent: 2,
},
}];
34 changes: 0 additions & 34 deletions eslint.config.mjs

This file was deleted.

Loading