1.0.3 • Published 5 months ago

@kadena-dev/eslint-config v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@kadena-dev/eslint-config

Kadena monorepo eslint-config

Usage

pnpm add -D @kadena-dev/eslint-config

Use an ESLint config file like .eslintrc.js in the root of your package and refer to this @kadena-dev/eslint-config package with a profile:

// This is a workaround for https://github.com/eslint/eslint/issues/3458
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
  extends: ['@kadena-dev/eslint-config/profile/lib'],
  parserOptions: { tsconfigRootDir: __dirname },
};