Skip to content

Commit e060792

Browse files
chore(deps-dev): bump eslint from 8.57.1 to 9.37.0 (#12)
* chore(deps-dev): bump eslint from 8.57.1 to 9.37.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.37.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.1...v9.37.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 9.37.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore(eslint): use globals package for node globals; add ignore patterns and devDependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nick Taylor <nick@nickyt.co>
1 parent be9c589 commit e060792

File tree

3 files changed

+237
-249
lines changed

3 files changed

+237
-249
lines changed

eslint.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import typescriptEslint from '@typescript-eslint/eslint-plugin';
22
import typescriptParser from '@typescript-eslint/parser';
3+
import globals from 'globals';
34

45
export default [
6+
{
7+
ignores: ['dist/**', 'node_modules/**', '*.config.js', 'coverage/**'],
8+
},
59
{
610
files: ['**/*.ts'],
711
languageOptions: {
@@ -11,18 +15,14 @@ export default [
1115
sourceType: 'module',
1216
},
1317
globals: {
14-
console: 'readonly',
15-
process: 'readonly',
16-
Buffer: 'readonly',
17-
__dirname: 'readonly',
18-
__filename: 'readonly',
19-
global: 'readonly',
18+
...globals.node,
2019
},
2120
},
2221
plugins: {
2322
'@typescript-eslint': typescriptEslint,
2423
},
2524
rules: {
25+
...typescriptEslint.configs.recommended.rules,
2626
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
2727
'@typescript-eslint/explicit-function-return-type': 'off',
2828
'@typescript-eslint/explicit-module-boundary-types': 'off',

0 commit comments

Comments
 (0)