eslint-cdk-plugin 1.0.0 → 1.0.1

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
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img width="160px" height="160px" src="./assets/logo.png" alt="ESLint plugin for AWS CDK logo">
2
+ <img width="160px" height="160px" src="https://raw.githubusercontent.com/ren-yamanashi/eslint-cdk-plugin/main/assets/logo.png" alt="ESLint plugin for AWS CDK logo">
3
3
  </p>
4
4
 
5
5
  <h1 align="center">eslint-cdk-plugin</h1>
@@ -71,11 +71,11 @@ If you have any questions or suggestions, please open an [issue](https://github.
71
71
 
72
72
  ## 💪 Contribution
73
73
 
74
- Contributions are welcome! Please see [Contribution Guide](./CONTRIBUTING.md) for more details.
74
+ Contributions are welcome! Please see [Contribution Guide](https://github.com/ren-yamanashi/eslint-cdk-plugin/blob/main/CONTRIBUTING.md) for more details.
75
75
 
76
76
  ## ⚓ Versioning Policy
77
77
 
78
- Please see [Versioning Policy](./VERSIONING_POLICY.md).
78
+ Please see [Versioning Policy](https://github.com/ren-yamanashi/eslint-cdk-plugin/blob/main/VERSIONING_POLICY.md).
79
79
 
80
80
  ## ©️ License
81
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-cdk-plugin",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "eslint plugin for AWS CDK projects",
5
5
  "main": "dist/index.mjs",
6
6
  "type": "module",
@@ -36,10 +36,7 @@
36
36
  "files": [
37
37
  "dist",
38
38
  "README.md",
39
- "LICENSE",
40
- "CONTRIBUTING.md",
41
- "VERSIONING_POLICY.md",
42
- "assets"
39
+ "LICENSE"
43
40
  ],
44
41
  "keywords": [
45
42
  "eslint",
package/CONTRIBUTING.md DELETED
@@ -1,105 +0,0 @@
1
- # Contributing to eslint-cdk-plugin
2
-
3
- Thank you for your interest in contributing to eslint-cdk-plugin!
4
- This document provides guidelines and steps for contributing.
5
-
6
- ## Code of Conduct
7
-
8
- By participating in this project, you are expected to uphold our Code of Conduct.
9
- Please report unacceptable behavior to `@ren-yamanashi`.
10
-
11
- ## How to Contribute
12
-
13
- ### Create Bugs Issue
14
-
15
- Before creating issue, please check the existing issues to avoid duplicates.
16
- When you create a bug issue, include as following content:
17
-
18
- - A clear and descriptive title
19
- - Steps to reproduce the behavior
20
- - Expected behavior
21
- - Actual behavior
22
- - Code samples if applicable
23
- - Version information (Node.js, ESLint)
24
-
25
- ### Create Feature Request Issue
26
-
27
- We welcome suggestions for new rules!
28
- When proposing a new rule:
29
-
30
- 1. First, check existing rules and issues to avoid duplicates
31
- 2. Create an issue with the following information:
32
- - Rule name
33
- - Description of the problem the rule solves
34
- - Examples of code that should pass/fail
35
- - References to AWS CDK best practices if applicable
36
-
37
- ### Pull Requests
38
-
39
- 1. Fork the repo and create your branch from `main`
40
- 2. Implement the rules
41
- 3. Implement the test for the rule and make sure it passes. (Tests are run in CI)
42
- 4. Update the documentation
43
- 5. Create a pull request
44
-
45
- #### Development Setup
46
-
47
- ```bash
48
- # Clone your fork
49
- https://github.com/ren-yamanashi/eslint-cdk-plugin.git
50
-
51
- # Install dependencies
52
- pnpm install
53
-
54
- # Run tests
55
- pnpm test
56
-
57
- # Run linter
58
- pnpm lint
59
- ```
60
-
61
- #### Creating a New Rule
62
-
63
- 1. Create a new file in `src`(file name should same rule name)
64
- 2. Create corresponding test file in `src/__tests__`
65
- 3. Add rule to `src/index.ts`
66
- 4. Add documentation in `docs`
67
-
68
- Note: Writing the document is optional (because it is written using Vitepress and is not yet ready to accept contributions)
69
-
70
- Example rule structure:
71
-
72
- ```typescript
73
- import { ESLintUtils } from "@typescript-eslint/utils";
74
-
75
- export const newRule = ESLintUtils.RuleCreator.withoutDocs({
76
- meta: {
77
- type: "problem",
78
- docs: {
79
- description: "Rule description",
80
- },
81
- messages: {
82
- ruleError: "Error message with {{ placeholder }}",
83
- },
84
- schema: [],
85
- },
86
- defaultOptions: [],
87
- create(context) {
88
- // Rule implementation
89
- },
90
- });
91
- ```
92
-
93
- ## Merge Process
94
-
95
- 1. Changes are merged to `main`
96
- 2. Maintainers will review and merge
97
- 3. Publish to npm according to Milestone
98
-
99
- ## Questions?
100
-
101
- Feel free to create an issue for any questions about contributing!
102
-
103
- ## License
104
-
105
- By contributing, you agree that your contributions will be licensed under the project's MIT License.
@@ -1,34 +0,0 @@
1
- ## Semantic Versioning Policy
2
-
3
- eslint-cdk-plugin follows semantic versioning. To clarify when a minor or major version bump occurs, we've defined the following semantic versioning policy:
4
-
5
- ### Patch Release (intended to not break your lint build)
6
-
7
- - A bug fix in a rule that results in fewer linting errors
8
- - A bug fix to the core functionality
9
- - Improvements to documentation
10
- - Non-user-facing changes such as refactoring code, adding/modifying tests, and increasing test coverage
11
- - Re-releasing after a failed release
12
-
13
- ### Minor Release (might break your lint build)
14
-
15
- - A bug fix in a rule that results in more linting errors
16
- - A new rule is added (disabled by default)
17
- - A new option to an existing rule that does not result in more linting errors by default
18
- - An existing rule is deprecated
19
-
20
- ### Major Release (likely to break your lint build)
21
-
22
- - `recommended` config is updated and may result in new linting errors
23
- - A new rule is added (enabled by default)
24
- - Removing deprecated rules or functionality
25
- - Changes that require a new minimum version of Node.js or ESLint
26
-
27
- ### Version Pinning Recommendations
28
-
29
- We recommend using one of the following approaches in your `package.json`:
30
-
31
- - Use tilde (`~`) to allow only patch releases: `"eslint-cdk-plugin": "~1.1.0"`
32
- - Use caret (`^`) if you're comfortable with minor updates: `"eslint-cdk-plugin": "^1.1.0"`
33
-
34
- Note that minor updates may report more linting errors than the previous release, so using tilde is recommended for more stable builds.
package/assets/logo.png DELETED
Binary file