Property reference
glide.ui.syntax_editor.linter.eslint_config
Defines the ESLint rules used to lint scripts in the JavaScript syntax editor. The default configuration warns on many common code issues while disabling checks for undefined and unused variables.
- Default
{ "rules": { "constructor-super": "warn", "no-case-declarations": "warn", "no-class-assign": "warn", "no-compare-neg-zero": "warn", "no-cond-assign": "warn", "no-console": "warn", "no-const-assign": "warn", "no-constant-condition": "warn", "no-control-regex": "warn", "no-debugger": "warn", "no-delete-var": "warn", "no-dupe-args": "warn", "no-dupe-class-members": "warn", "no-dupe-keys": "warn", "no-duplicate-case": "warn", "no-empty-character-class": "warn", "no-empty-pattern": "warn", "no-empty": ["warn", { "allowEmptyCatch": true }], "no-ex-assign": "warn", "no-extra-boolean-cast": "warn", "no-extra-semi": "warn", "semi" : "warn", "no-fallthrough": "warn", "no-func-assign": "warn", "no-global-assign": "warn", "no-inner-declarations": "warn", "no-invalid-regexp": "warn", "no-irregular-whitespace": "warn", "no-mixed-spaces-and-tabs": "warn", "no-new-symbol": "warn", "no-obj-calls": "warn", "no-octal": "warn", "no-redeclare": "warn", "no-regex-spaces": "warn", "no-self-assign": "warn", "no-sparse-arrays": "warn", "no-this-before-super": "warn", "no-undef": "off", "no-unexpected-multiline": "warn", "no-unreachable": "warn", "no-unsafe-finally": "warn", "no-unsafe-negation": "warn", "no-unused-labels": "warn", "no-unused-vars": "off", "no-useless-escape": "warn", "require-yield": "warn", "use-isnan": "warn", "valid-typeof": "warn" } }- Type
- string
- Application
- Global
- Category
- Scripting & Development