@niondigital/prettier-config 1.2.2 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# `@niondigital/eslint-config-base`
|
|
2
2
|
|
|
3
|
-
This package provides a prettier config as used by nion digital as a shared config.
|
|
3
|
+
This package provides a prettier config as used by [nion digital](https://www.nion-digital.com) as a shared config.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npx install-peerdeps --dev @niondigital/prettier-config
|
|
9
|
+
```
|
|
6
10
|
|
|
7
11
|
Reference the config in your package.json:
|
|
8
12
|
|
|
@@ -14,7 +18,7 @@ Reference the config in your package.json:
|
|
|
14
18
|
}
|
|
15
19
|
```
|
|
16
20
|
|
|
17
|
-
or
|
|
21
|
+
or import/require the config in your local Prettier config:
|
|
18
22
|
|
|
19
23
|
```js
|
|
20
24
|
import companyPrettierConfig from '@niondigital/prettier-config';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niondigital/prettier-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "niondigital prettier config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"prettier",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@ianvs/prettier-plugin-sort-imports": "^4.3.1"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "520a91abb3638c65a31f31e0014f6e3bcb3d05d1"
|
|
33
33
|
}
|