0.2.1 • Published 4 years ago

eslint-config-create-full-stack v0.2.1

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

eslint-config-create-full-stack

This package includes the shareable ESLint configuration used by Create Full Stack. Please refer to its documentation:

Usage in Create Full Stack Projects

The easiest way to use this configuration is with Create Full Stack, which includes it by default.

You don’t need to install it separately in Create Full Stack projects.

Usage Outside of Create Full Stack

If you want to use this ESLint configuration in a project not built with Create Full Stack, you can install it with the following steps.

First, install this package, ESLint and the necessary plugins.

yarn add -D eslint-config-create-full-stack

Then create a file named .eslintrc.json with following contents in the root folder of your project:

{
  "extends": "create-full-stack"
}

That's it! You can override the settings from eslint-config-create-full-stack by editing the .eslintrc.json file. Learn more about configuring ESLint on the ESLint website.

NOTE: The Jest version is set by default to v26 but can be overridden to something else by adding "settings" to .eslintrc.json:

{
  "settings": {
    "jest": {
      "version": 26
    }
  }
}