eslint-config-crowdstrike 4.0.1 → 5.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.
Files changed (3) hide show
  1. package/index.js +1 -0
  2. package/package.json +3 -3
  3. package/CHANGELOG.md +0 -70
package/index.js CHANGED
@@ -36,5 +36,6 @@ module.exports = {
36
36
  },
37
37
  }],
38
38
  'template-curly-spacing': ['error', 'never'],
39
+ 'no-trailing-spaces': 'error',
39
40
  },
40
41
  };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "eslint-config-crowdstrike",
3
- "version": "4.0.1",
3
+ "version": "5.0.0",
4
4
  "description": "ESLint config 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
13
  "release": "standard-version",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "homepage": "https://github.com/CrowdStrike/eslint-config-crowdstrike#readme",
35
35
  "devDependencies": {
36
- "@crowdstrike/commitlint": "^4.0.0",
36
+ "@crowdstrike/commitlint": "^5.0.0",
37
37
  "eslint": "^8.0.0",
38
38
  "eslint-config-crowdstrike": "link:",
39
39
  "eslint-config-crowdstrike-node": "^3.0.0",
package/CHANGELOG.md DELETED
@@ -1,70 +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
- ### [4.0.1](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v4.0.0...v4.0.1) (2021-10-12)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * revert accidental eslint peer deps bump ([c1bfbef](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/c1bfbefdf5d1003fd657ec950acdb45aeb01e79d))
11
-
12
- ## [4.0.0](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v3.1.0...v4.0.0) (2021-09-10)
13
-
14
-
15
- ### ⚠ BREAKING CHANGES
16
-
17
- * add eol-last rule
18
-
19
- ### Features
20
-
21
- * add eol-last rule ([d7d7e49](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/d7d7e498781ae147be10b09ab2f22b1fc1909977))
22
-
23
- ## [3.1.0](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v3.0.2...v3.1.0) (2021-06-15)
24
-
25
-
26
- ### Features
27
-
28
- * bump `ecmaVersion` to `2020` ([029945a](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/029945ad5b8f088918fed301f4aa409a0280da16))
29
-
30
- ### [3.0.2](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v3.0.1...v3.0.2) (2021-06-15)
31
-
32
- ### [3.0.1](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v3.0.0...v3.0.1) (2020-11-20)
33
-
34
-
35
- ### Bug Fixes
36
-
37
- * remove `strict` ([3d6bb3d](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/3d6bb3dff7798a92f9b089afe1e89a5d0fe1a84c))
38
-
39
- ## [3.0.0](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v2.0.0...v3.0.0) (2020-10-16)
40
-
41
-
42
- ### ⚠ BREAKING CHANGES
43
-
44
- * bump to node 10
45
-
46
- ### Features
47
-
48
- * bump to node 10 ([d0c4f30](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/d0c4f30741494fbdba7a817a4bfea9282253e944))
49
-
50
- ## [2.0.0](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v1.0.0...v2.0.0) (2020-02-05)
51
-
52
-
53
- ### ⚠ BREAKING CHANGES
54
-
55
- * Per [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Window/event)
56
- use of this property is not recommended in new code:
57
-
58
- > You *should* avoid using this property in new code, and should instead
59
- > use the `Event` passed into the event handler function. This property
60
- > is not universally supported and even when supported introduces
61
- > potential fragility to your code.
62
-
63
- I just came across a usage of it which was I believe unintended (we
64
- forgot to name the parameter which was being passed to the event
65
- handling function) and I think we sholud enable this rule to clean up
66
- other instances...
67
-
68
- ### Bug Fixes
69
-
70
- * error on use of global `window.event` property ([1c05cc1](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/1c05cc13374ac6d040b9ca2fee2e159bedc14cc4))