Skip to content

projectwallace/preset-oxlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oxlint preset

Installation

npm i --save-dev oxlint @projectwallace/preset-oxlint

Usage

In package.json:

{
  "scripts": {
    "lint": "oxlint --config .oxlintrc.json"
  }
}

Create an .oxlintrc.json:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "extends": ["@projectwallace/preset-oxlint"],
	"env": [
		"node": true, // or false, but be explicit
		"browser": true, // or false, but be explicit
	],
	"rules": {}, // override what you need for the whole project
	"overrides": {} // override per file type, per folder, etc.
}

About

Opinionated preset for Oxlint

Resources

License

Stars

Watchers

Forks

Packages

No packages published