eslint-config-crowdstrike 3.1.0 → 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 +2 -0
  2. package/package.json +7 -7
  3. package/CHANGELOG.md +0 -52
package/index.js CHANGED
@@ -12,6 +12,7 @@ module.exports = {
12
12
  ],
13
13
  rules: {
14
14
  'comma-dangle': ['error', 'always-multiline'],
15
+ 'eol-last': 'error',
15
16
  'indent': ['error', 2, {
16
17
  'MemberExpression': 1,
17
18
  'SwitchCase': 1,
@@ -35,5 +36,6 @@ module.exports = {
35
36
  },
36
37
  }],
37
38
  'template-curly-spacing': ['error', 'never'],
39
+ 'no-trailing-spaces': 'error',
38
40
  },
39
41
  };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "eslint-config-crowdstrike",
3
- "version": "3.1.0",
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,18 +33,18 @@
33
33
  },
34
34
  "homepage": "https://github.com/CrowdStrike/eslint-config-crowdstrike#readme",
35
35
  "devDependencies": {
36
- "@crowdstrike/commitlint": "^4.0.0",
37
- "eslint": "^7.0.0",
36
+ "@crowdstrike/commitlint": "^5.0.0",
37
+ "eslint": "^8.0.0",
38
38
  "eslint-config-crowdstrike": "link:",
39
39
  "eslint-config-crowdstrike-node": "^3.0.0",
40
- "eslint-plugin-json-files": "1.1.0",
40
+ "eslint-plugin-json-files": "^1.2.0",
41
41
  "eslint-plugin-node": "^11.0.0",
42
- "remark-cli": "^9.0.0",
42
+ "remark-cli": "^10.0.0",
43
43
  "remark-preset-lint-crowdstrike": "^2.0.0",
44
44
  "renovate-config-standard": "^2.0.0",
45
45
  "standard-version": "^9.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "eslint": "7"
48
+ "eslint": ">=6"
49
49
  }
50
50
  }
package/CHANGELOG.md DELETED
@@ -1,52 +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
- ## [3.1.0](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v3.0.2...v3.1.0) (2021-06-15)
6
-
7
-
8
- ### Features
9
-
10
- * bump `ecmaVersion` to `2020` ([029945a](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/029945ad5b8f088918fed301f4aa409a0280da16))
11
-
12
- ### [3.0.2](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v3.0.1...v3.0.2) (2021-06-15)
13
-
14
- ### [3.0.1](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v3.0.0...v3.0.1) (2020-11-20)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * remove `strict` ([3d6bb3d](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/3d6bb3dff7798a92f9b089afe1e89a5d0fe1a84c))
20
-
21
- ## [3.0.0](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v2.0.0...v3.0.0) (2020-10-16)
22
-
23
-
24
- ### ⚠ BREAKING CHANGES
25
-
26
- * bump to node 10
27
-
28
- ### Features
29
-
30
- * bump to node 10 ([d0c4f30](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/d0c4f30741494fbdba7a817a4bfea9282253e944))
31
-
32
- ## [2.0.0](https://github.com/CrowdStrike/eslint-config-crowdstrike/compare/v1.0.0...v2.0.0) (2020-02-05)
33
-
34
-
35
- ### ⚠ BREAKING CHANGES
36
-
37
- * Per [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Window/event)
38
- use of this property is not recommended in new code:
39
-
40
- > You *should* avoid using this property in new code, and should instead
41
- > use the `Event` passed into the event handler function. This property
42
- > is not universally supported and even when supported introduces
43
- > potential fragility to your code.
44
-
45
- I just came across a usage of it which was I believe unintended (we
46
- forgot to name the parameter which was being passed to the event
47
- handling function) and I think we sholud enable this rule to clean up
48
- other instances...
49
-
50
- ### Bug Fixes
51
-
52
- * error on use of global `window.event` property ([1c05cc1](https://github.com/CrowdStrike/eslint-config-crowdstrike/commit/1c05cc13374ac6d040b9ca2fee2e159bedc14cc4))