@ivuorinen/markdownlint-config 0.3.15 → 1.0.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/README.md CHANGED
@@ -52,11 +52,11 @@ Distributed under the MIT License. See [LICENSE][license-link] for more informat
52
52
  [markdownlint-docs-link]: https://github.com/DavidAnson/markdownlint
53
53
  [markdownlint-link]: https://github.com/DavidAnson/markdownlint
54
54
  [contributing-link]: https://github.com/ivuorinen/.github/blob/main/CONTRIBUTING.md
55
- [issue-link]: https://github.com/ivuorinen/base-configs/issues
56
- [license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
55
+ [issue-link]: https://github.com/ivuorinen/base-configs-markdownlint/issues
56
+ [license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs-markdownlint?style=flat-square&labelColor=292a44&color=663399
57
57
  [license-link]: ./LICENSE
58
58
  [npm-badge]: https://img.shields.io/npm/v/@ivuorinen/markdownlint-config?style=flat-square&labelColor=292a44&color=663399
59
59
  [npm-link]: https://www.npmjs.com/package/@ivuorinen/markdownlint-config
60
- [pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
60
+ [pull-request-link]: https://github.com/ivuorinen/base-configs-markdownlint/pulls
61
61
  [style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
62
- [style-link]: https://github.com/ivuorinen/base-configs
62
+ [style-link]: https://github.com/ivuorinen/base-configs-markdownlint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivuorinen/markdownlint-config",
3
- "version": "0.3.15",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "description": "ivuorinen's shareable configuration for markdownlint.",
6
6
  "author": {
@@ -8,7 +8,7 @@
8
8
  "url": "https://github.com/ivuorinen"
9
9
  },
10
10
  "bugs": {
11
- "url": "https://github.com/ivuorinen/base-configs/issues"
11
+ "url": "https://github.com/ivuorinen/base-configs-markdownlint/issues"
12
12
  },
13
13
  "engines": {
14
14
  "node": ">=20"
@@ -17,7 +17,7 @@
17
17
  "index.json",
18
18
  "scripts/*"
19
19
  ],
20
- "homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/markdownlint-config#readme",
20
+ "homepage": "https://github.com/ivuorinen/base-configs-markdownlint#readme",
21
21
  "keywords": [
22
22
  "markdownlint-config",
23
23
  "markdownlint",
@@ -31,14 +31,17 @@
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
- "url": "https://github.com/ivuorinen/base-configs.git"
34
+ "url": "git+https://github.com/ivuorinen/base-configs-markdownlint.git"
35
35
  },
36
36
  "scripts": {
37
37
  "postinstall": "node scripts/postinstall.cjs"
38
38
  },
39
39
  "dependencies": {
40
- "@ivuorinen/config-checker": "^1.1.12",
41
- "markdownlint-cli": "^0.45.0"
40
+ "@ivuorinen/config-checker": "^2.1.1",
41
+ "markdownlint-cli": "^0.46.0"
42
42
  },
43
- "gitHead": "6d23298a033189e6b6dbdae105431e55afc4a95e"
43
+ "packageManager": "yarn@4.12.0",
44
+ "devDependencies": {
45
+ "@ivuorinen/semantic-release-config": "^1.0.0"
46
+ }
44
47
  }
@@ -1,26 +1,26 @@
1
- 'use strict'
1
+ "use strict";
2
2
 
3
3
  /* eslint no-console: "off", n/no-process-exit: "off", no-undefined: "off" -- CLI app that gives users feedback */
4
4
 
5
- const fs = require('node:fs')
6
- const path = require('node:path')
5
+ const fs = require("node:fs");
6
+ const path = require("node:path");
7
7
  // noinspection NpmUsedModulesInstalled
8
- const process = require('node:process')
9
- const checkConfig = require('@ivuorinen/config-checker')
10
- const foundConfig = checkConfig('markdownlint')
8
+ const process = require("node:process");
9
+ const checkConfig = require("@ivuorinen/config-checker");
10
+ const foundConfig = checkConfig("markdownlint");
11
11
 
12
12
  if (foundConfig.length > 0) {
13
- console.log('markdownlint-config: Found existing markdownlint config file, skipping creation.')
14
- console.log('markdownlint-config: If you want to create a new config file, please remove the existing one.')
15
- console.log(`markdownlint-config: Found config files at: ${foundConfig.join(', ')}`)
16
- process.exit(0)
13
+ console.log("markdownlint-config: Found existing markdownlint config file, skipping creation.");
14
+ console.log("markdownlint-config: If you want to create a new config file, please remove the existing one.");
15
+ console.log(`markdownlint-config: Found config files at: ${foundConfig.join(", ")}`);
16
+ process.exit(0);
17
17
  }
18
18
 
19
- const filePath = path.join(process.env.INIT_CWD, '.markdownlint.json')
19
+ const filePath = path.join(process.env.INIT_CWD, ".markdownlint.json");
20
20
  const fileConfigObject = {
21
- extends: '@ivuorinen/markdownlint-config'
22
- }
21
+ extends: "@ivuorinen/markdownlint-config",
22
+ };
23
23
 
24
24
  if (!fs.existsSync(filePath)) {
25
- fs.writeFileSync(filePath, JSON.stringify(fileConfigObject, undefined, 2))
25
+ fs.writeFileSync(filePath, JSON.stringify(fileConfigObject, undefined, 2));
26
26
  }
File without changes