Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-define-config

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-define-config - npm Package Compare versions

Comparing version 1.22.0 to 1.23.0

22

package.json
{
"name": "eslint-define-config",
"version": "1.22.0",
"version": "1.23.0",
"description": "Provide a defineConfig function for .eslintrc.js files",

@@ -68,5 +68,5 @@ "scripts": {

"@poppinss/cliui": "~3.0.5",
"@types/eslint": "~8.44.1",
"@types/eslint": "~8.44.2",
"@types/json-schema": "~7.0.12",
"@types/node": "~20.4.5",
"@types/node": "~20.4.8",
"@typescript-eslint/eslint-plugin": "~5.62.0",

@@ -76,3 +76,3 @@ "@typescript-eslint/parser": "~5.62.0",

"eslint": "~8.46.0",
"eslint-config-prettier": "~8.9.0",
"eslint-config-prettier": "~8.10.0",
"eslint-gitignore": "~0.1.0",

@@ -83,3 +83,3 @@ "eslint-plugin-deprecation": "~1.5.0",

"eslint-plugin-inclusive-language": "~2.2.0",
"eslint-plugin-jsdoc": "~46.4.5",
"eslint-plugin-jsdoc": "~46.4.6",
"eslint-plugin-jsonc": "~2.9.0",

@@ -94,8 +94,8 @@ "eslint-plugin-jsx-a11y": "~6.7.1",

"eslint-plugin-react-hooks": "~4.6.0",
"eslint-plugin-sonarjs": "~0.19.0",
"eslint-plugin-sonarjs": "~0.20.0",
"eslint-plugin-spellcheck": "~0.0.20",
"eslint-plugin-testing-library": "~5.11.0",
"eslint-plugin-testing-library": "~5.11.1",
"eslint-plugin-unicorn": "~48.0.1",
"eslint-plugin-vitest": "~0.2.8",
"eslint-plugin-vue": "~9.16.0",
"eslint-plugin-vue": "~9.16.1",
"eslint-plugin-vue-pug": "~0.6.0",

@@ -109,3 +109,3 @@ "eslint-plugin-yml": "~1.8.0",

"npm-run-all": "~4.1.5",
"prettier": "3.0.0",
"prettier": "3.0.1",
"prettier-plugin-organize-imports": "~3.2.3",

@@ -117,6 +117,6 @@ "rimraf": "~5.0.1",

"upper-case-first": "~2.0.2",
"vitest": "~0.33.0",
"vitest": "~0.34.1",
"vue-eslint-parser": "~9.3.1"
},
"packageManager": "pnpm@8.6.10",
"packageManager": "pnpm@8.6.11",
"engines": {

@@ -123,0 +123,0 @@ "node": "^16.13.0 || >=18.0.0",

@@ -8,2 +8,12 @@ import type {

export type ParserModule =
| {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
parse(text: string, options?: any): any;
}
| {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
parseForESLint(text: string, options?: any): any;
};
/**

@@ -28,3 +38,3 @@ * An object containing settings related to how JavaScript is configured for linting

*/
sourceType?: SourceType;
sourceType?: SourceType | 'commonjs';

@@ -48,3 +58,3 @@ /**

*/
parser?: Parser;
parser?: Parser | ParserModule;

@@ -51,0 +61,0 @@ /**

@@ -11,3 +11,7 @@ import type { RuleConfig } from '../rule-config';

*/
export type NoDuplicateStringOption = number;
export interface NoDuplicateStringOption {
threshold?: number;
ignoreStrings?: string;
[k: string]: any;
}

@@ -14,0 +18,0 @@ /**

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