eslint-config-scratch 8.0.0 → 9.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.
@@ -0,0 +1,26 @@
1
+ version: 2.1
2
+ orbs:
3
+ commitlint: conventional-changelog/commitlint@1.0.0
4
+ node: circleci/node@5.0.3
5
+ alias:
6
+ - &defaults
7
+ docker:
8
+ - image: cimg/node:lts
9
+ executor: node/default
10
+ jobs:
11
+ main-job:
12
+ <<: *defaults
13
+ steps:
14
+ - checkout
15
+ - node/install-packages
16
+ - run: npm test
17
+ - run: npx semantic-release
18
+ workflows:
19
+ version: 2
20
+ commitlint:
21
+ jobs:
22
+ - commitlint/lint:
23
+ target-branch: master
24
+ main-workflow:
25
+ jobs:
26
+ - main-job
@@ -0,0 +1 @@
1
+ * text eol=lf
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ npx --no-install commitlint --edit "$1"
package/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See
4
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [9.0.0](https://github.com/LLK/eslint-config-scratch/compare/v8.0.0...v9.0.0) (2022-10-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** fix eslint-plugin-react dep conflict ([cacb72c](https://github.com/LLK/eslint-config-scratch/commit/cacb72c2281b99b5b3f7462256451443ae98e1bb))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * **deps:** now requires eslint@^8
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ extends: ['@commitlint/config-conventional'],
3
+ ignores: [message => message.startsWith('chore(release):')]
4
+ };
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "eslint-config-scratch",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "description": "Shareable ESLint config for Scratch",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
+ "prepare": "husky install",
7
8
  "test": "eslint ."
8
9
  },
9
10
  "eslintConfig": {
@@ -25,20 +26,23 @@
25
26
  "scratch"
26
27
  ],
27
28
  "optionalDependencies": {
28
- "eslint-plugin-react": ">=7.14.2"
29
+ "eslint-plugin-react": ">=7.27.0"
29
30
  },
30
31
  "peerDependencies": {
31
32
  "@babel/eslint-parser": "^7.11.0",
32
- "eslint": "^7.5.0 || ^8.0.0"
33
+ "eslint": "^8.0.0"
33
34
  },
34
35
  "devDependencies": {
35
36
  "@babel/eslint-parser": "7.17.0",
36
- "cz-conventional-changelog": "3.0.2",
37
- "eslint": "8.15.0"
37
+ "@commitlint/cli": "17.1.2",
38
+ "@commitlint/config-conventional": "17.1.0",
39
+ "eslint": "8.15.0",
40
+ "husky": "8.0.1",
41
+ "scratch-semantic-release-config": "1.0.5"
38
42
  },
39
43
  "config": {
40
44
  "commitizen": {
41
- "path": "./node_modules/cz-conventional-changelog"
45
+ "path": "cz-conventional-changelog"
42
46
  }
43
47
  }
44
48
  }
@@ -0,0 +1,9 @@
1
+ module.exports = {
2
+ extends: 'scratch-semantic-release-config',
3
+ branches: [
4
+ {
5
+ name: 'master'
6
+ // default channel
7
+ }
8
+ ]
9
+ };
package/.travis.yml DELETED
@@ -1,12 +0,0 @@
1
- sudo: false
2
- language: node_js
3
- notifications:
4
- email: false
5
- node_js:
6
- - lts/*
7
- install: npm ci --production=false
8
- after_success:
9
- - npx semantic-release
10
- branches:
11
- except:
12
- - /^v\d+\.\d+\.\d+$/