Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
- Upgrade all dependencies and modernize presets
  • Loading branch information
stefanmaric committed Nov 16, 2023
1 parent de2d040 commit f968f81
Show file tree
Hide file tree
Showing 14 changed files with 78 additions and 75 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased


## 3.0.0 - 2023-11-16

- Upgrade all dependencies and modernize presets

## 2.1.1 - 2022-01-10
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ If you don't see any of those, or if you see more than one, consult with your te
As a minimum, you are going to need to install `eslint`, `eslint-plugin-import`, and `eslint-config-masterworks` as dev-dependencies. Based on your project's package manager:

```shell
$ npm install --save-dev eslint eslint-plugin-import @masterworks/eslint-config-masterworks@github:MasterworksIO/eslint-config-masterworks#2.1.1
$ npm install --save-dev eslint eslint-plugin-import @masterworks/eslint-config-masterworks@github:MasterworksIO/eslint-config-masterworks#3.0.0
```

```shell
$ yarn install --save-dev eslint eslint-plugin-import @masterworks/eslint-config-masterworks@github:MasterworksIO/eslint-config-masterworks#2.1.1
$ yarn install --save-dev eslint eslint-plugin-import @masterworks/eslint-config-masterworks@github:MasterworksIO/eslint-config-masterworks#3.0.0
```

```shell
$ pnpm install --save-dev eslint eslint-plugin-import @masterworks/eslint-config-masterworks@github:MasterworksIO/eslint-config-masterworks#2.1.1
$ pnpm install --save-dev eslint eslint-plugin-import @masterworks/eslint-config-masterworks@github:MasterworksIO/eslint-config-masterworks#3.0.0
```

Then create an `.eslintrc.json` (or any other of the [formats supported by ESLint](https://eslint.org/docs/user-guide/configuring/configuration-files#configuration-file-formats)) if it doesn't exist already, and extend the [`base` preset](./base/):
Expand Down Expand Up @@ -111,7 +111,7 @@ When using `@masterworks/eslint-config-masterworks` presets, you should also use
"name": "my-project",
"prettier": "@masterworks/eslint-config-masterworks/prettier",
"devDependencies": {
"@masterworks/eslint-config-masterworks": "github:MasterworksIO/eslint-config-masterworks#2.1.1",
"@masterworks/eslint-config-masterworks": "github:MasterworksIO/eslint-config-masterworks#3.0.0",
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@masterworks/eslint-config-masterworks-base",
"version": "2.1.1",
"version": "3.0.0",
"description": "ESLint config presets for Masterworks — the base config",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@masterworks/eslint-config-masterworks-node",
"version": "2.1.1",
"version": "3.0.0",
"description": "ESLint config presets for Masterworks — rules for NodeJS",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@masterworks/eslint-config-masterworks",
"version": "2.1.1",
"version": "3.0.0",
"description": "ESLint config presets for Masterworks",
"packageManager": "[email protected]",
"repository": {
Expand Down
112 changes: 56 additions & 56 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@masterworks/prettier-config",
"version": "2.1.1",
"version": "3.0.0",
"description": "ESLint config presets for Masterworks — the recommended Prettier config to go along",
"main": "prettier.cjs",
"module": "prettier.mjs",
Expand Down
4 changes: 2 additions & 2 deletions react-stylish/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@masterworks/eslint-config-masterworks-react-stylish",
"version": "2.1.1",
"version": "3.0.0",
"description": "ESLint config presets for Masterworks — stylish React",
"main": "index.js",
"repository": {
Expand All @@ -14,6 +14,6 @@
},
"homepage": "https://github.com/MasterworksIO/eslint-config-masterworks/tree/master/react-stylish",
"peerDependencies": {
"@masterworks/eslint-config-masterworks-react": "^2.1.1"
"@masterworks/eslint-config-masterworks-react": "^3.0.0"
}
}
Loading

0 comments on commit f968f81

Please sign in to comment.