Skip to content

familiohq/eslint-config-typescript-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@familiohq/eslint-config-typescript-react

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

Installation

yarn add @familiohq/eslint-config-typescript-react --dev
// or
npm install -D @familiohq/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 "@familiohq: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": "@familiohq/eslint-config-typescript-react", 
} 

Publishing

This is a repo that all familiohq 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

About

Templ8 ESLint configuration for TypeScript and React

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.1%
  • TypeScript 37.9%