node-editorconfig 1.1.3 → 1.1.4
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 +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,13 @@ A generic .editorconfig for Node JS projects
|
|
|
5
5
|
|
|
6
6
|
# Usage
|
|
7
7
|
|
|
8
|
+
## Method 1: Without installing
|
|
9
|
+
```sh
|
|
10
|
+
$ cd /path/to/project/
|
|
11
|
+
$ npx node-editorconfig
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Method 2: With `--global` installation
|
|
8
15
|
```sh
|
|
9
16
|
$ npm install --global node-editorconfig
|
|
10
17
|
$ cd /path/to/project/
|
|
@@ -16,10 +23,11 @@ $ node-editorconfig
|
|
|
16
23
|
|
|
17
24
|
`--overwrite` (To overwrite the .editorconfig file, if it already exists)
|
|
18
25
|
```sh
|
|
19
|
-
$ node-editorconfig --overwrite
|
|
26
|
+
$ npx node-editorconfig --overwrite
|
|
20
27
|
✓ .editorconfig file overwritten at /path/to/project/.editorconfig
|
|
21
28
|
```
|
|
22
29
|
|
|
30
|
+
|
|
23
31
|
# About this project
|
|
24
32
|
|
|
25
33
|
## Author
|
|
@@ -28,7 +36,7 @@ $ node-editorconfig --overwrite
|
|
|
28
36
|
|
|
29
37
|
## Connect to us
|
|
30
38
|
|
|
31
|
-
* https://webextensions.org/
|
|
39
|
+
* https://www.webextensions.org/
|
|
32
40
|
* [GitHub](https://github.com/webextensions/live-css-editor)
|
|
33
41
|
* [Twitter](https://twitter.com/webextensions)
|
|
34
42
|
|
package/package.json
CHANGED