@stylistic/eslint-plugin
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -84,5 +84,5 @@ import { Linter, ESLint, Rule } from 'eslint'; | ||
declare function customize(options: StylisticCustomizeOptions<false>): Linter.BaseConfig; | ||
declare function customize(options?: StylisticCustomizeOptions<true>): Linter.FlatConfig; | ||
declare function customize(options?: StylisticCustomizeOptions<true>): Linter.Config; | ||
declare const configs: Record<string, ESLint.ConfigData<Linter.RulesRecord> | Linter.FlatConfig<Linter.RulesRecord> | Linter.FlatConfig<Linter.RulesRecord>[]> & { | ||
declare const _configs: { | ||
/** | ||
@@ -93,3 +93,3 @@ * Disable all legacy rules from `eslint`, `@typescript-eslint` and `eslint-plugin-react` | ||
*/ | ||
'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>; | ||
'disable-legacy': Linter.Config<Linter.RulesRecord>; | ||
/** | ||
@@ -102,3 +102,3 @@ * A factory function to customize the recommended config | ||
*/ | ||
'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>; | ||
'recommended-flat': Linter.Config<Linter.RulesRecord>; | ||
/** | ||
@@ -111,7 +111,7 @@ * The default recommended config in Legacy Config Format | ||
*/ | ||
'all-flat': Linter.FlatConfig<Linter.RulesRecord>; | ||
'all-flat': Linter.Config; | ||
/** | ||
* Enable all rules, in Legacy Config Format | ||
*/ | ||
'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>; | ||
'all-extends': Linter.BaseConfig; | ||
/** | ||
@@ -122,2 +122,3 @@ * @deprecated Use `recommended-extends` instead | ||
}; | ||
declare const configs: ESLint.Plugin["configs"] & typeof _configs; | ||
@@ -124,0 +125,0 @@ type Rules = { |
{ | ||
"name": "@stylistic/eslint-plugin", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
@@ -40,7 +40,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"@types/eslint": "^8.56.10", | ||
"@stylistic/eslint-plugin-js": "2.3.0", | ||
"@stylistic/eslint-plugin-jsx": "2.3.0", | ||
"@stylistic/eslint-plugin-plus": "2.3.0", | ||
"@stylistic/eslint-plugin-ts": "2.3.0" | ||
"@types/eslint": "^9.6.0", | ||
"@stylistic/eslint-plugin-js": "2.4.0", | ||
"@stylistic/eslint-plugin-ts": "2.4.0", | ||
"@stylistic/eslint-plugin-plus": "2.4.0", | ||
"@stylistic/eslint-plugin-jsx": "2.4.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "scripts": { |
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
514
20409
+ Added@stylistic/eslint-plugin-js@2.4.0(transitive)
+ Added@stylistic/eslint-plugin-jsx@2.4.0(transitive)
+ Added@stylistic/eslint-plugin-plus@2.4.0(transitive)
+ Added@stylistic/eslint-plugin-ts@2.4.0(transitive)
+ Added@types/eslint@9.6.1(transitive)
- Removed@stylistic/eslint-plugin-js@2.3.0(transitive)
- Removed@stylistic/eslint-plugin-jsx@2.3.0(transitive)
- Removed@stylistic/eslint-plugin-plus@2.3.0(transitive)
- Removed@stylistic/eslint-plugin-ts@2.3.0(transitive)
- Removed@types/eslint@8.56.12(transitive)
Updated@types/eslint@^9.6.0