You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ...unicornPlugin.configs.recommended, // is not working for now with ESLint v9
32
-
...eslintPluginPrettierRecommended,// Enables eslint-plugin-prettier, eslint-config-prettier and prettier/prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration.
33
-
34
27
plugins: {
35
28
notice: noticePlugin,
36
-
unicorn: unicornPlugin,
37
-
import: importPlugin
29
+
'@typescript-eslint': tseslint.plugin,
30
+
jest: jestPlugin,
38
31
},
32
+
extends: [
33
+
// eslint.configs.recommended,
34
+
eslintPluginImport.flatConfigs.recommended,
35
+
eslintPluginUnicorn.configs['flat/recommended'],
36
+
eslintPluginPrettierRecommended,// Enables eslint-plugin-prettier, eslint-config-prettier and prettier/prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration.
37
+
],
39
38
languageOptions: {
39
+
parser: tseslint.parser,
40
40
parserOptions: {
41
41
ecmaVersion: 2018,// Allows for the parsing of modern ECMAScript features
42
42
sourceType: 'module',// Allows for the use of imports
...eslintPluginPrettierRecommended,// Enables eslint-plugin-prettier, eslint-config-prettier and prettier/prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration.
0 commit comments