Skip to content

Commit

Permalink
deps: eslint v8 -> v9
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Jul 6, 2024
1 parent cd889d4 commit c7a8738
Show file tree
Hide file tree
Showing 4 changed files with 283 additions and 256 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

27 changes: 27 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const js = require('@eslint/js');
const { FlatCompat } = require('@eslint/eslintrc');
const globals = require('globals');

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

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

ecmaVersion: 2018,
sourceType: 'commonjs',
},
},
];
Loading

0 comments on commit c7a8738

Please sign in to comment.