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