We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fdfda3 commit aaf53a8Copy full SHA for aaf53a8
eslint.config.js renamed to eslint.config.mjs
@@ -3,8 +3,10 @@ import tseslint from '@typescript-eslint/eslint-plugin';
3
import tsParser from '@typescript-eslint/parser';
4
import noOnlyTests from 'eslint-plugin-no-only-tests';
5
import prettier from 'eslint-config-prettier';
6
+import js from '@eslint/js';
7
8
export default [
9
+ js.configs.recommended,
10
{
11
languageOptions: {
12
parser: tsParser,
@@ -13,7 +15,7 @@ export default [
13
15
sourceType: 'module',
14
16
},
17
globals: {
- ...eslint.configs.node.globals,
18
+ ...js.configs.recommended.languageOptions.globals,
19
mocha: true,
20
21
0 commit comments