Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Sep 8, 2022
1 parent 7b33825 commit 92b0309
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ In the `community` ruleset, the five `*-still-default` rules allow you to define
| [community-package-json-n8n-nodes-empty](docs/rules/community-package-json-n8n-nodes-empty.md) | The `n8n.nodes` value in the `package.json` of a community package must contain at least one filepath. | No |
| [community-package-json-n8n-nodes-missing](docs/rules/community-package-json-n8n-nodes-missing.md) | The `n8n.nodes` key must be present in the `package.json` of a community package. | No |
| [community-package-json-name-missing](docs/rules/community-package-json-name-missing.md) | The `name` key must be present in the `package.json` of a community package. | No |
| [community-package-json-name-still-default](docs/rules/community-package-json-name-still-default.md) | The `name` key in the `package.json` of a community package must be different from the default value n8n-nodes-<...> or a user-defined default. | No |
| [community-package-json-repository-url-still-default](docs/rules/community-package-json-repository-url-still-default.md) | The `repository.url` value in the `package.json` of a community package must be different from the default value https://github.com/<...>/n8n-nodes-<...>.git or a user-defined default. | No |
| [community-package-json-name-still-default](docs/rules/community-package-json-name-still-default.md) | The `name` key in the `package.json` of a community package must be different from the default value `n8n-nodes-<...>` or a user-defined default. | No |
| [community-package-json-repository-url-still-default](docs/rules/community-package-json-repository-url-still-default.md) | The `repository.url` value in the `package.json` of a community package must be different from the default value `https://github.com/<...>/n8n-nodes-<...>.git` or a user-defined default. | No |
| [community-package-json-version-missing](docs/rules/community-package-json-version-missing.md) | The `version` key must be present in the `package.json` of a community package. | No |
| [cred-class-field-authenticate-type-assertion](docs/rules/cred-class-field-authenticate-type-assertion.md) | In a credential class, the field `authenticate` must be typed `IAuthenticateGeneric` | Yes |
| [cred-class-field-display-name-miscased](docs/rules/cred-class-field-display-name-miscased.md) | `displayName` field in credential class must be title cased. | Yes |
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/community-package-json-name-still-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# community-package-json-name-still-default

The `name` key in the `package.json` of a community package must be different from the default value n8n-nodes-<...> or a user-defined default.
The `name` key in the `package.json` of a community package must be different from the default value `n8n-nodes-<...>` or a user-defined default.

📋 This rule is part of the `plugin:n8n-nodes-base/community` config.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# community-package-json-repository-url-still-default

The `repository.url` value in the `package.json` of a community package must be different from the default value https://github.com/<...>/n8n-nodes-<...>.git or a user-defined default.
The `repository.url` value in the `package.json` of a community package must be different from the default value `https://github.com/<...>/n8n-nodes-<...>.git` or a user-defined default.

📋 This rule is part of the `plugin:n8n-nodes-base/community` config.

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/community-package-json-name-still-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default utils.createRule({
meta: {
type: "problem",
docs: {
description: `The \`name\` key in the \`package.json\` of a community package must be different from the default value ${COMMUNITY_PACKAGE_JSON.NAME} or a user-defined default.`,
description: `The \`name\` key in the \`package.json\` of a community package must be different from the default value \`${COMMUNITY_PACKAGE_JSON.NAME}\` or a user-defined default.`,
recommended: "error",
},
schema: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default utils.createRule({
meta: {
type: "problem",
docs: {
description: docline`The \`repository.url\` value in the \`package.json\` of a community package must be different from the default value ${COMMUNITY_PACKAGE_JSON.REPOSITORY_URL} or a user-defined default.`,
description: docline`The \`repository.url\` value in the \`package.json\` of a community package must be different from the default value \`${COMMUNITY_PACKAGE_JSON.REPOSITORY_URL}\` or a user-defined default.`,
recommended: "error",
},
schema: [
Expand Down

0 comments on commit 92b0309

Please sign in to comment.