eslint-config-create-full-stack

0.2.1 • Public • Published

eslint-config-create-full-stack

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

  • Getting Started – How to create a new full stack.
  • User Guide – How to develop apps bootstrapped with Create Full Stack.

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
    }
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-create-full-stack

Weekly Downloads

32

Version

0.2.1

License

MIT

Unpacked Size

7.46 kB

Total Files

5

Last publish

Collaborators

  • tiagob