Skip to content

Commit

Permalink
Bump eslint from 8.57.0 to 9.6.0 (ScaCap#219)
Browse files Browse the repository at this point in the history
* Bump eslint from 8.57.0 to 9.6.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.0...v9.6.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Migrate eslint

* adjust `eslint.config.js`

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Ferreyra <[email protected]>
Co-authored-by: Ghais Zaher <[email protected]>
  • Loading branch information
3 people authored Jul 2, 2024
1 parent 1779a53 commit 571e1c7
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 154 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc.json

This file was deleted.

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,
},
}];
Loading

0 comments on commit 571e1c7

Please sign in to comment.