remark-preset-lint-crowdstrike 2.0.0 → 4.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
@@ -1,6 +1,5 @@
1
1
  # remark-preset-lint-crowdstrike
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/remark-preset-lint-crowdstrike.svg)](https://badge.fury.io/js/remark-preset-lint-crowdstrike)
4
- [![Build Status](https://travis-ci.org/CrowdStrike/remark-preset-lint-crowdstrike.svg?branch=master)](https://travis-ci.org/CrowdStrike/remark-preset-lint-crowdstrike)
5
4
 
6
5
  [remark-lint](https://github.com/remarkjs/remark-lint) preset for [CrowdStrike](https://www.crowdstrike.com)
package/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports.plugins = [
4
- require('remark-preset-lint-recommended'),
5
- require('remark-preset-lint-consistent'),
6
- // require('remark-lint-blank-lines-1-0-2'), buggy
7
- // [require('remark-lint-code'), {
4
+ 'remark-preset-lint-recommended',
5
+ 'remark-preset-lint-consistent',
6
+ // 'remark-lint-blank-lines-1-0-2', // buggy
7
+ // ['remark-lint-code', {
8
8
  // js: 'remark-lint-code-eslint',
9
9
  // }],
10
- // require('remark-lint-no-empty-sections'),
11
- require('remark-lint-heading-whitespace'),
12
- require('remark-lint-no-url-trailing-slash'),
13
- require('remark-validate-links'),
14
- // require('lint-match-punctuation'), // doesn't work
10
+ // 'remark-lint-no-empty-sections',
11
+ 'remark-lint-heading-whitespace',
12
+ 'remark-lint-no-url-trailing-slash',
13
+ 'remark-validate-links',
14
+ // 'lint-match-punctuation', // doesn't work
15
15
  ];
package/package.json CHANGED
@@ -1,18 +1,23 @@
1
1
  {
2
2
  "name": "remark-preset-lint-crowdstrike",
3
- "version": "2.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "remark-lint preset for CrowdStrike",
5
5
  "main": "index.js",
6
6
  "files": [
7
7
  "index.js"
8
8
  ],
9
9
  "scripts": {
10
- "lint:git": "commitlint",
10
+ "lint:git": "commitlint --default-branch main",
11
11
  "lint:js": "eslint . --ext js,json",
12
12
  "lint:md": "remark -f README.md",
13
- "release": "standard-version && git push --follow-tags && npm publish",
13
+ "release": "standard-version",
14
14
  "test": "yarn lint:git && yarn lint:js && yarn lint:md"
15
15
  },
16
+ "standard-version": {
17
+ "scripts": {
18
+ "posttag": "git push --follow-tags --atomic"
19
+ }
20
+ },
16
21
  "repository": {
17
22
  "type": "git",
18
23
  "url": "git+ssh://git@github.com/CrowdStrike/remark-preset-lint-crowdstrike.git"
@@ -24,27 +29,27 @@
24
29
  },
25
30
  "homepage": "https://github.com/CrowdStrike/remark-preset-lint-crowdstrike#readme",
26
31
  "engines": {
27
- "node": ">=10.12"
32
+ "node": ">=16.13"
28
33
  },
29
34
  "dependencies": {
30
35
  "remark-lint-heading-whitespace": "^1.0.0",
31
36
  "remark-lint-no-url-trailing-slash": "^3.0.1",
32
- "remark-preset-lint-consistent": "^4.0.0",
33
- "remark-preset-lint-recommended": "^5.0.0",
34
- "remark-validate-links": "^10.0.0"
37
+ "remark-preset-lint-consistent": "^5.0.0",
38
+ "remark-preset-lint-recommended": "^6.0.0",
39
+ "remark-validate-links": "^13.0.0"
35
40
  },
36
41
  "devDependencies": {
37
- "@crowdstrike/commitlint": "^1.0.3",
38
- "eslint": "^7.0.0",
39
- "eslint-config-crowdstrike": "^3.0.0",
40
- "eslint-config-crowdstrike-node": "^3.0.0",
41
- "eslint-plugin-json-files": "0.8.1",
42
+ "@crowdstrike/commitlint": "^7.0.0",
43
+ "eslint": "^8.0.0",
44
+ "eslint-config-crowdstrike": "10.1.0",
45
+ "eslint-config-crowdstrike-node": "3.0.1",
46
+ "eslint-plugin-json-files": "4.1.0",
42
47
  "eslint-plugin-node": "^11.0.0",
43
- "remark-cli": "^9.0.0",
48
+ "remark-cli": "^12.0.0",
44
49
  "renovate-config-standard": "^2.0.0",
45
50
  "standard-version": "^9.0.0"
46
51
  },
47
52
  "peerDependencies": {
48
- "remark-cli": "9"
53
+ "remark-cli": "12"
49
54
  }
50
55
  }
package/CHANGELOG.md DELETED
@@ -1,21 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ## [2.0.0](https://github.com/CrowdStrike/remark-preset-lint-crowdstrike/compare/v1.0.2...v2.0.0) (2020-10-19)
6
-
7
-
8
- ### ⚠ BREAKING CHANGES
9
-
10
- * bump to node 10
11
-
12
- * bump to node 10 ([addf3c8](https://github.com/CrowdStrike/remark-preset-lint-crowdstrike/commit/addf3c8047a2ffd475ac49442380e0a819dfc065))
13
-
14
- ### [1.0.2](https://github.com/CrowdStrike/remark-preset-lint-crowdstrike/compare/v1.0.1...v1.0.2) (2019-09-12)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * add `remark-cli` as a peer dep ([2ffb8c5](https://github.com/CrowdStrike/remark-preset-lint-crowdstrike/commit/2ffb8c5))
20
-
21
- ### [1.0.1](https://github.com/CrowdStrike/remark-preset-lint-crowdstrike/compare/v1.0.0...v1.0.1) (2019-09-11)