node-editorconfig 1.1.3 → 1.2.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/.editorconfig +7 -1
- package/.nvmrc +1 -1
- package/README.md +11 -3
- package/package.json +2 -2
package/.editorconfig
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
# https://github.com/webextensions/node-editorconfig
|
|
3
3
|
# https://www.npmjs.com/package/node-editorconfig
|
|
4
4
|
#
|
|
5
|
+
# To generate this file:
|
|
6
|
+
# $ npx node-editorconfig@latest
|
|
7
|
+
#
|
|
8
|
+
# To update this file:
|
|
9
|
+
# $ npx node-editorconfig@latest --overwrite
|
|
10
|
+
#
|
|
5
11
|
# References:
|
|
6
12
|
# http://editorconfig.org/ (Official Site)
|
|
7
13
|
# http://editorconfig.org/#download (Plugins)
|
|
@@ -19,7 +25,7 @@ indent_style = space
|
|
|
19
25
|
insert_final_newline = true
|
|
20
26
|
trim_trailing_whitespace = true
|
|
21
27
|
|
|
22
|
-
[{.babelrc,bower.json,nodemon.json
|
|
28
|
+
[{.babelrc,bower.json,nodemon.json,*.yml}]
|
|
23
29
|
indent_size = 2
|
|
24
30
|
|
|
25
31
|
[Makefile]
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
16.
|
|
1
|
+
16.14.0
|
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,19 +23,20 @@ $ 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
|
|
26
34
|
|
|
27
35
|
* Priyank Parashar - [GitHub](https://github.com/paras20xx) | [Twitter](https://twitter.com/paras20xx) | [LinkedIn](https://linkedin.com/in/ParasharPriyank/)
|
|
28
36
|
|
|
29
|
-
## Connect
|
|
37
|
+
## Connect with 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-editorconfig",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "A generic .editorconfig for Node JS projects. $ npm i -g node-editorconfig ; node-editorconfig",
|
|
5
5
|
"bin": {
|
|
6
6
|
"node-editorconfig": "./copy-editorconfig-to-cwd.js"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"cp-file": "^9.1.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"eslint": "^8.
|
|
20
|
+
"eslint": "^8.9.0"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
23
23
|
"generic",
|