0.0.1 • Published 2 years ago

@kristijorgji/eslint-config-typescript v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@kristijorgji/eslint-config-typescript

Eslint and prettier rules for general purpose typescript projects. If you want rules specific for React/NextJS or other frameworks have to enrich these rules after including.

Usage

Install deps

Install the correct versions of each package, which are listed by the command:

yarn add --dev @kristijorgji/eslint-config-typescript@latest

If you are migrating old service to new plugin first please make sure to first remove old dependencies that are duplicates like example yarn remove eslint prettier @typescript-eslint/eslint-plugin etc

Config

Add the following to your .eslintrc.js:

module.exports = {
    extends: ['@kristijorgji/eslint-config-typescript'],
};

Develop

More info on how to develop your custom eslint config can be found here: https://eslint.org/docs/developer-guide/shareable-configs

To develop locally you can install with yarn add --dev pathtolocalfile example yarn add --dev /Users/kristi.jorgji/Desktop/fl-lite/eslint-config-typescript

You need to run the above command after every plugin change.

License

MIT