eslint-cdk-plugin 0.1.0 → 0.3.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 +8 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# eslint-plugin
|
|
1
|
+
# eslint-cdk-plugin
|
|
2
2
|
|
|
3
3
|
ESLint plugin for [AWS CDK](https://github.com/aws/aws-cdk).
|
|
4
4
|
|
|
@@ -6,13 +6,13 @@ ESLint plugin for [AWS CDK](https://github.com/aws/aws-cdk).
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# npm
|
|
9
|
-
npm install -D
|
|
9
|
+
npm install -D eslint-cdk-plugin
|
|
10
10
|
|
|
11
11
|
# yarn
|
|
12
|
-
yarn add -D
|
|
12
|
+
yarn add -D eslint-cdk-plugin
|
|
13
13
|
|
|
14
14
|
# pnpm
|
|
15
|
-
pnpm install -D
|
|
15
|
+
pnpm install -D eslint-cdk-plugin
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -21,17 +21,17 @@ pnpm install -D @nigg/eslint-plugin-cdk
|
|
|
21
21
|
|
|
22
22
|
```js
|
|
23
23
|
// eslint.config.mjs
|
|
24
|
-
import
|
|
24
|
+
import eslintCdkPlugin from "eslint-cdk-plugin";
|
|
25
25
|
export default [
|
|
26
26
|
{
|
|
27
27
|
plugins: {
|
|
28
|
-
cdk:
|
|
28
|
+
cdk: eslintCdkPlugin,
|
|
29
29
|
},
|
|
30
30
|
rules: {
|
|
31
|
-
...
|
|
31
|
+
...eslintCdkPlugin.configs.recommended.rules,
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
];
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
### For more detailed documentation, see [docs for eslint-plugin
|
|
37
|
+
### For more detailed documentation, see [docs for eslint-cdk-plugin](https://eslint-cdk-plugin.dev/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-cdk-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "eslint plugin for AWS CDK projects",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"aws",
|
|
46
46
|
"cdk"
|
|
47
47
|
],
|
|
48
|
-
"homepage": "https://eslint-plugin
|
|
48
|
+
"homepage": "https://eslint-cdk-plugin.dev/",
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
51
|
-
"url": "https://github.com/ren-yamanashi/eslint-plugin
|
|
51
|
+
"url": "https://github.com/ren-yamanashi/eslint-cdk-plugin.git"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|