node-editorconfig 1.1.2 → 1.2.1

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 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
7
+ #
8
+ # To update this file:
9
+ # $ npx node-editorconfig --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,package.json,package-lock.json,*.yml}]
28
+ [{.babelrc,bower.json,nodemon.json,*.yml}]
23
29
  indent_size = 2
24
30
 
25
31
  [Makefile]
@@ -28,8 +34,8 @@ indent_style = tab
28
34
  [{*.json,.nvmrc,*.svg}]
29
35
  insert_final_newline = false
30
36
 
31
- [{*.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.text}] # https://superuser.com/questions/249436/file-extension-for-markdown-files/285878#285878
32
- trim_trailing_whitespace = false # https://stackoverflow.com/editing-help#linebreaks
37
+ [{*.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.text}] # https://superuser.com/questions/249436/file-extension-for-markdown-files/285878#285878
38
+ trim_trailing_whitespace = false # https://stackoverflow.com/editing-help#linebreaks
33
39
 
34
40
  [/node_modules/**] # Glob/minimatch pattern to match the "node_modules" directory at the project root
35
41
  charset = unset
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 14.9.0
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 to us
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.1.2",
3
+ "version": "1.2.1",
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"
@@ -14,10 +14,10 @@
14
14
  "url": "git+https://github.com/webextensions/node-editorconfig.git"
15
15
  },
16
16
  "dependencies": {
17
- "cp-file": "^9.0.0"
17
+ "cp-file": "^9.1.0"
18
18
  },
19
19
  "devDependencies": {
20
- "eslint": "^7.8.1"
20
+ "eslint": "^8.9.0"
21
21
  },
22
22
  "keywords": [
23
23
  "generic",