@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 +7 -13
- package/package.json +2 -2
- package/dist/rules/test.js +0 -1
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
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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.
|
|
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": "^
|
|
41
|
+
"eslint": "^9"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/dist/rules/test.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|