1.7.0 • Published 4 years ago

@stinkstudios/eslint-config-react-app v1.7.0

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

@stinkstudios/eslint-config-react-app

Main Workflow NPM version Downloads Known Vulnerabilities MIT license

Supports linting of Javascript .js / React JavaScript .jsx / TypeScript .ts / TypeScript React .tsx

Extends

Plugins

Installation

$ yarn add @stinkstudios/eslint-config-react-app babel-eslint@10.x eslint@5.x eslint-config-prettier@4.x eslint-plugin-compat@3.x eslint-plugin-import@2.x eslint-plugin-jest@22.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-unicorn@8.x @typescript-eslint/eslint-plugin@1.x @typescript-eslint/parser@1.x -E -D

Usage

If you've installed @stinkstudios/eslint-config-react-app locally within your project, just set your eslint(https://eslint.org/docs/user-guide/configuring#configuring-eslint) to:

{
  "extends": "@stinkstudios/eslint-config-react-app"
}

Visual Studio Code Setup

To have Visual Studio Code format and autofix your .js files use the below extensions and settings.

Extensions

ext install esbenp.prettier-vscode dbaeumer.vscode-eslint

Settings

{
  "eslint.enable": true,
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    { "language": "typescript", "autoFix": true },
    { "language": "typescriptreact", "autoFix": true }
  ],

  "editor.formatOnSave": false,
  "[javascript]": {
    "editor.formatOnSave": true
  },
  "[javascriptreact]": {
    "editor.formatOnSave": true
  },
  "[typescript]": {
    "editor.formatOnSave": true
  },
  "[typescriptreact]": {
    "editor.formatOnSave": true
  },
  "prettier.eslintIntegration": true
}

Changelog

License

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.3.6

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago