UNPKG

@tpzdsp/eslint-config-dsp

Version:

re-usable config for ESLint, Prettier and semantic-release

27 lines (15 loc) 746 B
# ESLint and semantic-release Shared Config The purpose of this library is to create shared config for the ESLint and semantic-release libraries, to be re-used in our libraries/applications. ## Usage To use the base config ie. in non-nextjs codebases use: ```typescript import dspEslintConfig from '@tpzdsp/eslint-config-dsp/eslint'; ``` if using in a NextJS codebase, use: ```typescript import dspEslintConfig from '@tpzdsp/eslint-config-dsp/eslint/next'; ``` ## Development At some point you will want to use the work-in-progress version of this or any library, I suggest using [yalc](https://github.com/wclr/yalc). 1. In your library, run: `yalc publish` 1. In your library or app using this library, run: `yalc add <package name>`