@eslint/eslintrc
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -276,3 +276,3 @@ /** | ||
* @param {Object} envConfig The `env` section of an ESLintRC config. | ||
* @returns {Object} A flag-config object representing the environments. | ||
* @returns {Object[]} An array of flag-config objects representing the environments. | ||
*/ | ||
@@ -288,3 +288,3 @@ env(envConfig) { | ||
* @param {...string} configsToExtend The names of the configs to load. | ||
* @returns {Object} A flag-config object representing the config. | ||
* @returns {Object[]} An array of flag-config objects representing the config. | ||
*/ | ||
@@ -300,3 +300,3 @@ extends(...configsToExtend) { | ||
* @param {...string} plugins The names of the plugins to load. | ||
* @returns {Object} A flag-config object representing the plugins. | ||
* @returns {Object[]} An array of flag-config objects representing the plugins. | ||
*/ | ||
@@ -303,0 +303,0 @@ plugins(...plugins) { |
{ | ||
"name": "@eslint/eslintrc", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "The legacy ESLintRC config file format for ESLint", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -40,6 +40,6 @@ # ESLintRC Library | ||
// mimic ESLintRC-style extends | ||
compat.extends("standard", "example"), | ||
...compat.extends("standard", "example"), | ||
// mimic environments | ||
compat.env({ | ||
...compat.env({ | ||
es2020: true, | ||
@@ -50,6 +50,6 @@ node: true | ||
// mimic plugins | ||
compat.plugins("airbnb", "react"), | ||
...compat.plugins("airbnb", "react"), | ||
// translate an entire config | ||
compat.config({ | ||
...compat.config({ | ||
plugins: ["airbnb", "react"], | ||
@@ -56,0 +56,0 @@ extends: "standard", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
652462
5