Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 1.86 KB

File metadata and controls

54 lines (48 loc) · 1.86 KB

Oxlint

Oxlint is a new rust based linter. It is dramatically faster than eslint, but still in active development. It may be useful for quick linting while developing, though eslint should be used for full coverage.

Usage

  1. Create a .oxlintrc.json
  2. Extend the .oxlintrc.json from your repo
{
	"extends": [
		"node_modules/@batterii/eslint-config-vurvey/oxlint/.oxlintrc.json"
	],
	"rules": {
		"additional": "rules"
	}
}

Unsupported by Oxlint

  • unsupported rule, but in development: constructor-super
  • unsupported rule, but in development: getter-return
  • unsupported rule: no-dupe-args
  • unsupported rule, but in development: no-misleading-character-class
  • unsupported rule: no-octal
  • unsupported rule, but in development: no-undef
  • unsupported rule, but in development: no-unreachable
  • unsupported rule: prefer-const
  • unsupported rule: @typescript-eslint/explicit-member-accessibility
  • unsupported rule: @typescript-eslint/no-shadow
  • unsupported rule: @typescript-eslint/no-unnecessary-qualifier
  • unsupported rule: @typescript-eslint/no-use-before-define
  • unsupported rule: @typescript-eslint/prefer-regexp-exec
  • unsupported rule: @typescript-eslint/prefer-string-starts-ends-with
  • unsupported rule: @typescript-eslint/unified-signatures
  • unsupported rule: accessor-pairs
  • unsupported rule: consistent-this
  • unsupported rule: dot-notation
  • unsupported rule: no-implicit-coercion
  • unsupported rule: no-implied-eval
  • unsupported rule: no-invalid-this
  • unsupported rule: no-octal-escape
  • unsupported rule: no-sequences
  • unsupported rule: no-undef-init
  • unsupported rule: no-underscore-dangle
  • unsupported rule: no-unmodified-loop-condition
  • unsupported rule: no-useless-return
  • unsupported rule: object-shorthand
  • unsupported rule: prefer-arrow-callback
  • unsupported rule: strict
  • unsupported rule: max-len
  • unsupported rule: no-restricted-properties