1.1.0 • Published 10 months ago
@kadena-dev/eslint-config v1.1.0
@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 },
};