Skip to content

seedium/eslint-config-seedium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-seedium

Eslint config that we use in Seedium

How to use

  1. Install config with eslint and eslint plugins
npm install -D eslint-config-seedium eslint eslint-plugin-react @typescript-eslint/parser @typescript-eslint/eslint-plugin
yarn add --dev eslint-config-seedium eslint eslint-plugin-react @typescript-eslint/parser @typescript-eslint/eslint-plugin
  1. Create own .eslintrc
{
    "extends": "seedium"
}

Using with prettier

To use with prettier you should follow this steps:

  1. Create file .prettierc

  2. Our configuration:

{
  singleQuote: true,
  semi: true,
  jsxSingleQuote: true,
  trailingComma: 'es5',
  arrowParens: 'always',
  printWidth: 80,
  proseWrap: 'never',
};
  1. Install eslint-config-prettier:
yarn add --dev eslint-config-prettier
  1. Update your .eslintrc:
{
    "extends": ["seedium", "prettier"]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published