mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
Update languageOptions
This commit is contained in:
+10
-3
@@ -20,6 +20,12 @@ const jsConfig = defineConfig([
|
||||
name: 'js/config',
|
||||
files: helpers.extensions.allFiles,
|
||||
...js.configs.recommended,
|
||||
languageOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
},
|
||||
},
|
||||
},
|
||||
pluginPromise.configs['flat/recommended'],
|
||||
// Stylistic plugin
|
||||
@@ -38,6 +44,10 @@ const jsConfig = defineConfig([
|
||||
name: 'sdnext/js',
|
||||
files: helpers.extensions.allFiles,
|
||||
languageOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
},
|
||||
globals: {
|
||||
...globals.builtin,
|
||||
...globals.browser,
|
||||
@@ -116,9 +126,6 @@ const jsConfig = defineConfig([
|
||||
sendNotification: 'readonly',
|
||||
monitorConnection: 'readonly',
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
camelcase: 'off',
|
||||
|
||||
Reference in New Issue
Block a user