eslint-config
/
6.0.0-beta.0
eslint-config 6.0.0-beta.0
Install from the command line:
Learn more about npm packages
$ npm install @typeform/eslint-config@6.0.0-beta.0
Install via package.json:
"@typeform/eslint-config": "6.0.0-beta.0"
About this version
ESLint configuration for Typeform front-end projects
yarn add eslint @typeform/eslint-config --dev
If you want to use the default configuration, you can simply create a .eslintrc.js
file (or alternatives) with the following content:
module.exports = {
extends: ['@typeform/eslint-config'],
}
And run with:
yarn eslint . --fix
If your codebase uses prettier for styles formatting, you can override default standard
rules updating your eslint
config:
module.exports = {
extends: ['@typeform/eslint-config', 'prettier', 'prettier/react', 'plugin:prettier/recommended'],
}
and installing eslint-plugin-prettier
:
yarn add --dev eslint-plugin-prettier
Details
- eslint-config
- Typeform
- about 2 years ago
- LGPL-3.0-only
- 28 dependencies
Assets
- eslint-config-6.0.0-beta.0.tgz
Download activity
- Total downloads 2
- Last 30 days 0
- Last week 0
- Today 0