@daldalso/eslint-plugin 1.2.1 → 1.2.2

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.
package/README.md CHANGED
@@ -4,19 +4,13 @@ ESLint plugin for [Daldalso](https://daldal.so)-style programming.
4
4
 
5
5
  ## Getting Started
6
6
  1. `yarn add @daldalso/eslint-plugin`
7
- 2. Add following values to your ESLint configuration file.
8
- ```json
9
- {
10
- "plugins": [
11
- "@daldalso/eslint-plugin"
12
- ],
13
- "extends": [
14
- "plugin:@daldalso/eslint-plugin/all"
15
- ],
16
- "parserOptions": {
17
- "project": "./tsconfig.json"
18
- }
19
- }
7
+ 2. Add the plugin to your ESLint 9 configuration file like below:
8
+ ```js
9
+ import daldalsoPlugin from "@daldalso/eslint-plugin";
10
+
11
+ export default [
12
+ daldalsoPlugin.configs.all
13
+ ];
20
14
  ```
21
15
 
22
16
  ## Caveats
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daldalso/eslint-plugin",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "main": "./dist/index.js",
5
5
  "repository": {
6
6
  "url": "git+https://github.com/JJoriping/eslint-plugin.git"
@@ -38,6 +38,6 @@
38
38
  "typescript": "^5"
39
39
  },
40
40
  "peerDependencies": {
41
- "eslint": "^8"
41
+ "eslint": "^9"
42
42
  }
43
43
  }
@@ -1 +0,0 @@
1
- "use strict";