Skip to content

paralenz/eslint-config-typescript-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@paralenz/eslint-config-typescript-react

To have a unified codeing standard we've created this library.

Installation

yarn add @paralenz/eslint-config-typescript-react --dev
// or
npm install -D @paralenz/eslint-config-react-typescript

Prerequisits

Since we are using the github package registry you need to have a .npmrc-file in your project.

If you do not have this file you can create it by running the following command in the project you'd like to install this package into

echo "@paralenz:registry=https://npm.pkg.github.com/" > .npmrc

This will tell npm & yarn to look in the github package registry too, when installing packages.

Usage

In .eslintrc:

{ 
  "extends": "@paralenz/eslint-config-typescript-react", 
} 

Publishing

This is a repo that all Paralenz developers should contribute to and because of that it should be easy-peasy to publish a new version of this package.

To publish a new version all you need to do is:

  1. Change the version number in package.json. Either by manually changing it or by running yarn version.
  2. When you push to the master branch the Publish release workflow will start. This workflow will create a new tag and publish a new release