Socket
Socket
Sign inDemoInstall

@stylistic/eslint-plugin

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylistic/eslint-plugin - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

13

dist/dts/index.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc