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

oxlint

Package Overview
Dependencies
Maintainers
0
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oxlint - npm Package Compare versions

Comparing version 0.11.1 to 0.12.0

58

configuration_schema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Oxlintrc",
"description": "Oxlint Configuration File\n\nThis configuration is aligned with ESLint v8's configuration schema (`eslintrc.json`).\n\nUsage: `oxlint -c oxlintrc.json --import-plugin`\n\n::: danger NOTE\n\nOnly the `.json` format is supported. You can use comments in configuration files.\n\n:::\n\nExample\n\n`.oxlintrc.json`\n\n```json { \"$schema\": \"./node_modules/oxlint/configuration_schema.json\", \"plugins\": [\"import\", \"unicorn\"], \"env\": { \"browser\": true }, \"globals\": { \"foo\": \"readonly\" }, \"settings\": { }, \"rules\": { \"eqeqeq\": \"warn\", \"import/no-cycle\": \"error\" } } ```",
"description": "Oxlint Configuration File\n\nThis configuration is aligned with ESLint v8's configuration schema (`eslintrc.json`).\n\nUsage: `oxlint -c oxlintrc.json --import-plugin`\n\n::: danger NOTE\n\nOnly the `.json` format is supported. You can use comments in configuration files.\n\n:::\n\nExample\n\n`.oxlintrc.json`\n\n```json { \"$schema\": \"./node_modules/oxlint/configuration_schema.json\", \"plugins\": [\"import\", \"typescript\", \"unicorn\"], \"env\": { \"browser\": true }, \"globals\": { \"foo\": \"readonly\" }, \"settings\": { }, \"rules\": { \"eqeqeq\": \"warn\", \"import/no-cycle\": \"error\" }, \"overrides\": [ { \"files\": [\"*.test.ts\", \"*.spec.ts\"], \"rules\": { \"@typescript-eslint/no-explicit-any\": \"off\" } } ] } ```",
"type": "object",

@@ -35,2 +35,10 @@ "properties": {

},
"overrides": {
"description": "Add, remove, or otherwise reconfigure rules for specific files or groups of files.",
"allOf": [
{
"$ref": "#/definitions/OxlintOverrides"
}
]
},
"plugins": {

@@ -170,2 +178,8 @@ "default": [

},
"GlobSet": {
"type": "array",
"items": {
"type": "string"
}
},
"GlobalValue": {

@@ -323,2 +337,44 @@ "type": "string",

},
"OxlintOverride": {
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"description": "A list of glob patterns to override.\n\n## Example `[ \"*.test.ts\", \"*.spec.ts\" ]`",
"allOf": [
{
"$ref": "#/definitions/GlobSet"
}
]
},
"plugins": {
"description": "Optionally change what plugins are enabled for this override. When omitted, the base config's plugins are used.",
"default": null,
"anyOf": [
{
"$ref": "#/definitions/LintPlugins"
},
{
"type": "null"
}
]
},
"rules": {
"default": {},
"allOf": [
{
"$ref": "#/definitions/OxlintRules"
}
]
}
}
},
"OxlintOverrides": {
"type": "array",
"items": {
"$ref": "#/definitions/OxlintOverride"
}
},
"OxlintRules": {

@@ -325,0 +381,0 @@ "$ref": "#/definitions/DummyRuleMap"

18

package.json
{
"name": "oxlint",
"version": "0.11.1",
"version": "0.12.0",
"description": "Linter for the JavaScript Oxidation Compiler",

@@ -32,11 +32,11 @@ "keywords": [],

"optionalDependencies": {
"@oxlint/win32-x64": "0.11.1",
"@oxlint/win32-arm64": "0.11.1",
"@oxlint/linux-x64-gnu": "0.11.1",
"@oxlint/linux-arm64-gnu": "0.11.1",
"@oxlint/linux-x64-musl": "0.11.1",
"@oxlint/linux-arm64-musl": "0.11.1",
"@oxlint/darwin-x64": "0.11.1",
"@oxlint/darwin-arm64": "0.11.1"
"@oxlint/win32-x64": "0.12.0",
"@oxlint/win32-arm64": "0.12.0",
"@oxlint/linux-x64-gnu": "0.12.0",
"@oxlint/linux-arm64-gnu": "0.12.0",
"@oxlint/linux-x64-musl": "0.12.0",
"@oxlint/linux-arm64-musl": "0.12.0",
"@oxlint/darwin-x64": "0.12.0",
"@oxlint/darwin-arm64": "0.12.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