Skip to content

Shareable config for ESLint, used in React.js and TypeScript projects at Beequip

Notifications You must be signed in to change notification settings

BEEQUIP/eslint-config-react-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-react-typescript

Shareable config for ESLint, used in React.js and TypeScript projects at BEEQUIP.

Installing

Install with yarn.

yarn add --dev @beequip/eslint-config-react-typescript

Or npm.

npm install --save-dev @beequip/eslint-config-react-typescript

How to use

Create a new .eslintrc.js file in the root of your project with the following content:

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

For an optimal experience, add a Prettier override by creating a .prettierrc file in the root of your project.

{
    "tabWidth": 4,
    "printWidth": 80,
    "semi": false,
    "singleQuote": true,
    "trailingComma": "es5"
}

Further reading

For more information on shareable configs for ESLint, see the docs: https://eslint.org/docs/6.0.0/developer-guide/shareable-configs

About

Shareable config for ESLint, used in React.js and TypeScript projects at Beequip

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •