eslint-config-digital-scientists
Advanced tools
Comparing version 0.2.9 to 0.2.10
{ | ||
"name": "eslint-config-digital-scientists", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -51,7 +51,7 @@ # eslint-config-digital-scientists | ||
## Integrating ESLint With `prettier` | ||
## Integrating ESLint With Prettier | ||
In order to user `prettier` with `ESLint` and `eslint-config-digital-scientists`, you will need to do the following: | ||
In order to user `prettier` with `eslint` and `eslint-config-digital-scientists`, you will need to do the following: | ||
### Install `prettier` and `eslint-config-prettier` | ||
Install `prettier` and `eslint-config-prettier` | ||
@@ -62,3 +62,3 @@ ``` | ||
### Modify `.eslintrc.{js,json}` to extend `eslint-config-pretter` _after_ `eslint-config-digital-scientists` to overwrite any rules that conflict with prettier | ||
Modify `.eslintrc.{js,json}` to extend `eslint-config-pretter` **after** `eslint-config-digital-scientists` to overwrite any rules that conflict with prettier | ||
@@ -68,3 +68,2 @@ ```json | ||
"extends": ["digital-scientists", "prettier", "prettier/react"], | ||
"root": true | ||
@@ -74,3 +73,3 @@ } | ||
### Add a `prettier` config (e.g. `.prettierrc.js`) with these recommended settings: | ||
Add a `prettier` config (e.g. `.prettierrc.js`) with these recommended settings: | ||
@@ -92,3 +91,3 @@ ```js | ||
### Install a Prettier formatting plugin for your editor and set to format on save` | ||
Install a Prettier formatting plugin for your editor and set to format on save` | ||
@@ -95,0 +94,0 @@ * For Visual Studio Code: [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75486
133