node-editorconfig 1.1.1 → 1.2.0

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
@@ -19,7 +19,7 @@ indent_style = space
19
19
  insert_final_newline = true
20
20
  trim_trailing_whitespace = true
21
21
 
22
- [{.babelrc,bower.json,nodemon.json,package.json,package-lock.json,.travis.yml}]
22
+ [{.babelrc,bower.json,nodemon.json,*.yml}]
23
23
  indent_size = 2
24
24
 
25
25
  [Makefile]
@@ -28,8 +28,8 @@ indent_style = tab
28
28
  [{*.json,.nvmrc,*.svg}]
29
29
  insert_final_newline = false
30
30
 
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
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
33
33
 
34
34
  [/node_modules/**] # Glob/minimatch pattern to match the "node_modules" directory at the project root
35
35
  charset = unset
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 12.14.0
1
+ 16.13.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-editorconfig",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
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": "^7.0.0"
17
+ "cp-file": "^9.1.0"
18
18
  },
19
19
  "devDependencies": {
20
- "eslint": "^6.8.0"
20
+ "eslint": "^8.5.0"
21
21
  },
22
22
  "keywords": [
23
23
  "generic",