Property reference

glide.ui.syntax_editor.linter.eslint_config

The glide.ui.syntax_editor.linter.eslint_config property specifies the configuration for ESlint, a tool used for identifying and reporting on patterns in JavaScript code. Admins should review this property to ensure that the linting rules align with their coding standards and practices.

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

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? This property defines a set of ESlint rules that govern code quality checks for JavaScript within the ServiceNow platform.
What area does it affect? JavaScript code linting
What does the default mean? The default value is "{ "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" } }", which is the baseline setting used unless it is changed.
When should you review it? Review this property when updating coding standards or integrating new JavaScript features.

Out of the box property record

Raw metadata from the property record.

Property name glide.ui.syntax_editor.linter.eslint_config
Sys ID 9bebca14731023001c233096fbf6a753
Type string
Application Global
Default value { "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" } }
Description ESlint configuration
Updated 2024-05-25 04:04:44