Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 979 Bytes

CONTRIBUTING.md

File metadata and controls

34 lines (24 loc) · 979 Bytes

Contributing

Prerequisite - must have pnpm installed. All git-hooks for formatting will be automatically installed and configured.

  1. Clone repo
git clone https://github.com/MengLinMaker/eslint-plugin-runtime-compat.git
  1. Build project
pnpm run build
  1. Contribute to some files

Architecture

There are 2 sections. One for data preprocessing, another for runtime linting.

data

This package contains functions for preprocessing runtime data runtime-compat data into different categories:

  • classInstantiation
  • classPropertyAccess - including param
  • classInstantiationParam - constructor with param only: CompressionStream/DecompressionStream
  • eventListener - including param

rules

Contain the ESLint rules

Workflows

Update

  • TODO - Runs a script from script folder to auto update compat data and publish minor releases to NPM.