This library is an ESlint configuration for NEAR projects.
To install this configuration run the following command:
npm install -D eslint-config-near
When configuring ESlint to use this configuration add the following to your config file:
.eslinrc.cjs
/* eslint-env node */
module.exports = {
extends: ["near"],
};
- near-prettier-config - for configuring prettier
This config is based on the eslint-config-canonical with some minor changes and setup for different filetypes.
To build the project just run the build script like:
npm run build
There is no need for manual publishing as this process is done in CI by semantic-release.