Skip to content

Commit

Permalink
Version Packages (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Sep 13, 2022
1 parent 02506cf commit e14c71d
Show file tree
Hide file tree
Showing 35 changed files with 281 additions and 239 deletions.
12 changes: 0 additions & 12 deletions .changeset/angry-cheetahs-know.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/beige-moose-stare.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/clever-wolves-sort.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/cuddly-mayflies-fetch.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/flat-kids-taste.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/giant-wasps-doubt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-peas-relate.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/healthy-melons-argue.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/hip-months-attack.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/moody-bulldogs-shake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nervous-lies-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-colts-wonder.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/old-beers-wave.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/plenty-parents-draw.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-fans-deny.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/rotten-oranges-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-ghosts-own.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/small-trees-compete.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-boxes-cheat.md

This file was deleted.

8 changes: 4 additions & 4 deletions examples/mixed-js-typescript-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"keywords": [],
"author": "",
"devDependencies": {
"@mels/eslint-config-base": "0.2.0",
"@mels/eslint-config-prettier": "0.1.0",
"@mels/eslint-config-typescript": "0.1.1",
"@mels/prettier-config": "0.1.0",
"@mels/eslint-config-base": "1.0.0",
"@mels/eslint-config-prettier": "1.0.0",
"@mels/eslint-config-typescript": "1.0.0",
"@mels/prettier-config": "1.0.0",
"eslint": "^8.23.0",
"typescript": "^4.7.4"
}
Expand Down
12 changes: 6 additions & 6 deletions examples/react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"web-vitals": "^2.1.0"
},
"devDependencies": {
"@mels/eslint-config-base": "0.2.0",
"@mels/eslint-config-jest": "0.1.0",
"@mels/eslint-config-prettier": "0.1.0",
"@mels/eslint-config-react": "0.1.0",
"@mels/eslint-config-typescript": "0.1.1",
"@mels/prettier-config": "0.1.0"
"@mels/eslint-config-base": "1.0.0",
"@mels/eslint-config-jest": "1.0.0",
"@mels/eslint-config-prettier": "1.0.0",
"@mels/eslint-config-react": "1.0.0",
"@mels/eslint-config-typescript": "1.0.0",
"@mels/prettier-config": "1.0.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
48 changes: 48 additions & 0 deletions packages/eslint-config-base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# @mels/eslint-config-base

## 1.0.0

### Major Changes

- [#26](https://github.com/melanieseltzer/toolkit/pull/26) [`b90a8d3`](https://github.com/melanieseltzer/toolkit/commit/b90a8d354a2ad804dd326406c2127f769a271354) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Update package dependencies:

- Drop support for ESLint v6
- Add support for ESLint v8
- Update and unlock dependencies

* [#38](https://github.com/melanieseltzer/toolkit/pull/38) [`08bfefb`](https://github.com/melanieseltzer/toolkit/commit/08bfefb33ad3c71734da8dd2980797683c9cc46e) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Changed these rules:

- `no-use-before-define`: cannot use classes before defined

Removed these rules:

- `no-restricted-syntax`
- `no-script-url`
- `no-labels`

- [#38](https://github.com/melanieseltzer/toolkit/pull/38) [`08bfefb`](https://github.com/melanieseltzer/toolkit/commit/08bfefb33ad3c71734da8dd2980797683c9cc46e) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Fix the rule severity so `warn` and `error` are used more wisely. In general, try to stick to these principles:

`warn`:

- Anything stylistic or personal preference (ordering, naming, etc)

`error`:

- Anything that would cause a bug
- Bad coding practices in general
- Obsolete/deprecated language features, or just straight-up mistakes

### Minor Changes

- [#30](https://github.com/melanieseltzer/toolkit/pull/30) [`7642d43`](https://github.com/melanieseltzer/toolkit/commit/7642d43f6d8d10d0b8cbf31d52fed04860f3b6d4) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Update the import config:

- Use `eslint-plugin-simple-import-sort` for autofixable sorting.
- Remove `import/no-extraneous-dependencies` rule because it's not working quite right with glob patterns.

* [#28](https://github.com/melanieseltzer/toolkit/pull/28) [`9f3ceb6`](https://github.com/melanieseltzer/toolkit/commit/9f3ceb6d55cacc389011a0c6c961d654accfc8ab) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Added the ESLint patch into the base config, so the consumer doesn't have to worry about it.

### Patch Changes

- [#34](https://github.com/melanieseltzer/toolkit/pull/34) [`d3ea3d4`](https://github.com/melanieseltzer/toolkit/commit/d3ea3d468a26301e222a00252243dacd741f2660) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Turn on the `camelcase` rule.

- Updated dependencies [[`b90a8d3`](https://github.com/melanieseltzer/toolkit/commit/b90a8d354a2ad804dd326406c2127f769a271354)]:
- @mels/eslint-patch@1.0.3

## 0.2.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mels/eslint-config-base",
"version": "0.2.0",
"version": "1.0.0",
"description": "Shareable base JS ESLint config.",
"main": "./index.js",
"files": [
Expand All @@ -21,7 +21,7 @@
"lint": "eslint ."
},
"dependencies": {
"@mels/eslint-patch": "^1.0.2",
"@mels/eslint-patch": "^1.0.3",
"confusing-browser-globals": "^1.0.11",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-simple-import-sort": "^7.0.0"
Expand Down
48 changes: 48 additions & 0 deletions packages/eslint-config-jest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# @mels/eslint-config-jest

## 1.0.0

### Major Changes

- [#26](https://github.com/melanieseltzer/toolkit/pull/26) [`b90a8d3`](https://github.com/melanieseltzer/toolkit/commit/b90a8d354a2ad804dd326406c2127f769a271354) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Update package dependencies:

- Drop support for ESLint v6
- Add support for ESLint v8
- Update and unlock dependencies

* [#33](https://github.com/melanieseltzer/toolkit/pull/33) [`e08d4b5`](https://github.com/melanieseltzer/toolkit/commit/e08d4b56346b95014ec2a9a5398fd22507f55cbd) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Improve and fix jest config

- Add the `jest` env to the config
- Extend from `plugin:jest/style`
- Flip all severity from `warn` to `error` to be stricter
- Add additional `**/tests/**/*.[jt]s?(x)` file matcher

Also turned on the following rules:

- `jest/expect-expect`
- `jest/no-conditional-in-test`
- `jest/consistent-test-it`
- `jest/prefer-each`
- `jest/prefer-hooks-in-order`
- `jest/prefer-mock-promise-shorthand`
- `jest/prefer-spy-on`
- `jest/unbound-method`

- [#39](https://github.com/melanieseltzer/toolkit/pull/39) [`02506cf`](https://github.com/melanieseltzer/toolkit/commit/02506cf7f16632dba96f874d6766d9f223d96af1) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Move all Testing Library rules into this config.

`eslint-config-jest` will check under the hood if `@testing-library/react` is installed by the consumer, and if so, then it will automatically enable the Testing Library rules.

* [#38](https://github.com/melanieseltzer/toolkit/pull/38) [`08bfefb`](https://github.com/melanieseltzer/toolkit/commit/08bfefb33ad3c71734da8dd2980797683c9cc46e) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Fix the rule severity so `warn` and `error` are used more wisely. In general, try to stick to these principles:

`warn`:

- Anything stylistic or personal preference (ordering, naming, etc)

`error`:

- Anything that would cause a bug
- Bad coding practices in general
- Obsolete/deprecated language features, or just straight-up mistakes

### Patch Changes

- [#24](https://github.com/melanieseltzer/toolkit/pull/24) [`4b1a7fa`](https://github.com/melanieseltzer/toolkit/commit/4b1a7fae4bca28c64684a75234634d956be3bacb) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Remove `engines.node` from package.json

## 0.1.0

### Minor Changes
Expand Down
Loading

0 comments on commit e14c71d

Please sign in to comment.