ryee-dev / pocket-lint

A regularly updated collection of react linter configurations including both typescript and non-typescript projects. (eslint, prettier, stylelint, tslint, tsconfig)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configurations

Prettier

.prettierrc

{
  "printWidth": 80,
  "tabWidth": 2,
  "useTabs": false,
  "semi": true,
  "singleQuote": true,
  "jsxSingleQuote": false,
  "trailingComma": "es5",
  "bracketSpacing": true,
  "jsxBracketSameLine": false
}

Stylelint

.stylelintrc

{
  "extends": [
    "stylelint-config-standard"
  ]
}

Dependency List

ESLint

  • @emotion/eslint-plugin
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser
  • eslint-config-next
  • eslint-config-prettier
  • eslint-config-xo-react
  • eslint-plugin-ava
  • eslint-plugin-import
  • eslint-plugin-no-use-extend-native
  • eslint-plugin-promise
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • eslint-plugin-unicorn

StyleLint

  • stylelint
  • stylelint-config-standard

TODO

  • Add github/documentation links to dependency list

About

A regularly updated collection of react linter configurations including both typescript and non-typescript projects. (eslint, prettier, stylelint, tslint, tsconfig)