Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / .eslintrc
Schema registry

.eslintrc

ESLint configuration files

.eslintrc.eslintrc.json.eslintrc.yml.eslintrc.yaml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your .eslintrc and it validates in your browser — nothing is uploaded.

Validate a .eslintrc → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
ecmaFeaturesobjectBy default, ESLint supports only ECMAScript 5 syntax. You can override that setting to enable support for ECMAScript 6 as well as JSX by using configuration settings.
ecmaFeatures.arrowFunctionsboolean
ecmaFeatures.binaryLiteralsboolean
ecmaFeatures.blockBindingsboolean
ecmaFeatures.classesboolean
ecmaFeatures.defaultParamsboolean
ecmaFeatures.destructuringboolean
ecmaFeatures.experimentalObjectRestSpreadbooleanEnables support for the experimental object rest/spread properties (IMPORTANT: This is an experimental feature that may change significantly in the future. It's recommended that you do not write rules relying on this functionality unless
ecmaFeatures.forOfboolean
ecmaFeatures.generatorsboolean
ecmaFeatures.globalReturnbooleanallow return statements in the global scope
ecmaFeatures.impliedStrictbooleanenable global strict mode (if ecmaVersion is 5 or greater)
ecmaFeatures.jsxbooleanenable JSX
ecmaFeatures.modulesboolean
ecmaFeatures.objectLiteralComputedPropertiesboolean
ecmaFeatures.objectLiteralDuplicatePropertiesboolean
ecmaFeatures.objectLiteralShorthandMethodsboolean
ecmaFeatures.objectLiteralShorthandPropertiesboolean
ecmaFeatures.octalLiteralsboolean
ecmaFeatures.regexUFlagboolean
ecmaFeatures.regexYFlagboolean
ecmaFeatures.restParamsboolean
ecmaFeatures.spreadboolean
ecmaFeatures.superInFunctionsboolean
ecmaFeatures.templateStringsboolean
ecmaFeatures.unicodeCodePointEscapesboolean
envobjectAn environment defines global variables that are predefined.
env.amdbooleandefines require() and define() as global variables as per the amd spec
env.applescriptbooleanAppleScript global variables
env.atomtestbooleanAtom test helper globals
env.browserbooleanbrowser global variables
env.commonjsbooleanCommonJS global variables and CommonJS scoping (use this for browser-only code that uses Browserify/WebPack)
env.shared-node-browserbooleanGlobals common to both Node and Browser
env.embertestbooleanEmber test helper globals
env.es6booleanenable all ECMAScript 6 features except for modules
env.greasemonkeybooleanGreaseMonkey globals
env.jasminebooleanadds all of the Jasmine testing global variables for version 1.3 and 2.0
env.jestbooleanJest global variables
env.jquerybooleanjQuery global variables
env.meteorbooleanMeteor global variables
env.mochabooleanadds all of the Mocha test global variables
env.mongobooleanMongoDB global variables
env.nashornbooleanJava 8 Nashorn global variables
env.nodebooleanNode.js global variables and Node.js scoping
env.phantomjsbooleanPhantomJS global variables
env.prototypejsbooleanPrototype.js global variables
env.protractorbooleanProtractor global variables
env.qunitbooleanQUnit global variables
env.serviceworkerbooleanService Worker global variables
env.shelljsbooleanShellJS global variables
env.webextensionsbooleanWebExtensions globals
env.workerbooleanweb workers global variables
extendsoneOf
globalsobjectSet each global variable name equal to true to allow the variable to be overwritten or false to disallow overwriting.
noInlineConfigbooleanPrevent comments from changing config or rules
reportUnusedDisableDirectivesbooleanReport unused eslint-disable comments
parserstring
parserOptionsobjectThe JavaScript language options to be supported
parserOptions.ecmaFeaturesobjectBy default, ESLint supports only ECMAScript 5 syntax. You can override that setting to enable support for ECMAScript 6 as well as JSX by using configuration settings.
parserOptions.ecmaFeatures.arrowFunctionsboolean
parserOptions.ecmaFeatures.binaryLiteralsboolean
parserOptions.ecmaFeatures.blockBindingsboolean
parserOptions.ecmaFeatures.classesboolean
parserOptions.ecmaFeatures.defaultParamsboolean
parserOptions.ecmaFeatures.destructuringboolean
parserOptions.ecmaFeatures.experimentalObjectRestSpreadbooleanEnables support for the experimental object rest/spread properties (IMPORTANT: This is an experimental feature that may change significantly in the future. It's recommended that you do not write rules relying on this functionality unless
parserOptions.ecmaFeatures.forOfboolean
parserOptions.ecmaFeatures.generatorsboolean
parserOptions.ecmaFeatures.globalReturnbooleanallow return statements in the global scope
parserOptions.ecmaFeatures.impliedStrictbooleanenable global strict mode (if ecmaVersion is 5 or greater)
parserOptions.ecmaFeatures.jsxbooleanenable JSX
parserOptions.ecmaFeatures.modulesboolean
parserOptions.ecmaFeatures.objectLiteralComputedPropertiesboolean
parserOptions.ecmaFeatures.objectLiteralDuplicatePropertiesboolean
parserOptions.ecmaFeatures.objectLiteralShorthandMethodsboolean
parserOptions.ecmaFeatures.objectLiteralShorthandPropertiesboolean
parserOptions.ecmaFeatures.octalLiteralsboolean
parserOptions.ecmaFeatures.regexUFlagboolean
parserOptions.ecmaFeatures.regexYFlagboolean
parserOptions.ecmaFeatures.restParamsboolean
parserOptions.ecmaFeatures.spreadboolean
parserOptions.ecmaFeatures.superInFunctionsboolean
parserOptions.ecmaFeatures.templateStringsboolean
parserOptions.ecmaFeatures.unicodeCodePointEscapesboolean
parserOptions.ecmaVersionenumSet to 3, 5 (default), 6, 7, 8, 9, 10, 11, 12, 13, 14, or 15 to specify the version of ECMAScript syntax you want to use. You can also set it to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10)
default: 5
one of: 3, 5, 6, 2015, 7, 2016 … (+17)
parserOptions.sourceTypeenumset to "script" (default), "commonjs", or "module" if your code is in ECMAScript modules
default: "script"
one of: "script", "module", "commonjs"
pluginsarray<string>ESLint supports the use of third-party plugins. Before using the plugin, you have to install it using npm.
rootbooleanBy default, ESLint will look for configuration files in all parent folders up to the root directory. This can be useful if you want all of your projects to follow a certain convention, but can sometimes lead to unexpected results. To limit
ignorePatternsoneOf
rulesobjectESLint comes with a large number of rules. You can modify which rules your project uses either using configuration comments or configuration files.
settingsobjectESLint supports adding shared settings into configuration file. You can add settings object to ESLint configuration file and it will be supplied to every rule that will be executed. This may be useful if you are adding custom rules and
overridesarray<object>Allows to override configuration for files and folders, specified by glob patterns

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
oneOfJSON Schema Core, draft 2020-12§10.2.1.3 — "oneOf"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas