Prerequisite - must have pnpm
installed. All git-hooks for formatting will be automatically installed and configured.
- Clone repo
git clone https://github.com/MengLinMaker/eslint-plugin-runtime-compat.git
- Build project
pnpm run build
- Contribute to some files
There are 2 sections. One for data preprocessing, another for runtime linting.
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
Contain the ESLint rules
- TODO - Runs a script from
script
folder to auto update compat data and publish minor releases to NPM.