Skip to content

Commit

Permalink
master -> main (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
yukukotani authored May 29, 2022
1 parent 0494b9e commit 58c0ea2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build
name: Build

on:
push:
branches:
- master
- main
pull_request:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Lint
on:
push:
branches:
- master
- main
pull_request:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test
on:
push:
branches:
- master
- main
pull_request:

jobs:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# eslint-plugin-chakra-ui

[![npm](https://img.shields.io/npm/v/eslint-plugin-chakra-ui)](https://www.npmjs.com/package/eslint-plugin-chakra-ui)
[![license](https://img.shields.io/npm/l/eslint-plugin-chakra-ui)](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/master/LICENSE)
[![license](https://img.shields.io/npm/l/eslint-plugin-chakra-ui)](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/main/LICENSE)

ESLint rules for [Chakra UI](https://chakra-ui.com/).

Expand Down Expand Up @@ -50,9 +50,9 @@ Now you can add chakra-ui rules:

Every rule is fixable with `eslint --fix`.

- [`props-order`](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/master/docs/rules/props-order.md): Enforces order of properties to be semantical
- [`props-shorthand`](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/master/docs/rules/props-shorthand.md): Enforces the usage of shorthand property or vice-versa
- [`require-specific-component`](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/master/docs/rules/require-specific-component.md): Enforces the usage of specific Chakra components instead of Box components with an attribute.
- [`props-order`](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/main/docs/rules/props-order.md): Enforces order of properties to be semantical
- [`props-shorthand`](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/main/docs/rules/props-shorthand.md): Enforces the usage of shorthand property or vice-versa
- [`require-specific-component`](https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/main/docs/rules/require-specific-component.md): Enforces the usage of specific Chakra components instead of Box components with an attribute.

## Prior Art

Expand Down
2 changes: 1 addition & 1 deletion src/rules/props-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const propsOrderRule: TSESLint.RuleModule<"invalidOrder", Options> = {
docs: {
description: "Enforce a order of the Chakra component's props.",
recommended: "error",
url: "https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/master/docs/rules/props-order.md",
url: "https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/main/docs/rules/props-order.md",
},
messages: {
invalidOrder: "Invalid Chakra props order.",
Expand Down
2 changes: 1 addition & 1 deletion src/rules/props-shorthand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const propsShorthandRule: TSESLint.RuleModule<"enforcesShorthand" | "enfo
docs: {
description: "Enforces the usage of shorthand Chakra component props.",
recommended: "error",
url: "https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/master/docs/rules/props-shorthand.md",
url: "https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/main/docs/rules/props-shorthand.md",
},
messages: {
enforcesShorthand: "Prop '{{invalidName}}' could be replaced by the '{{validName}}' shorthand.",
Expand Down
2 changes: 1 addition & 1 deletion src/rules/require-specific-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const requireSpecificComponentRule: TSESLint.RuleModule<"requireSpecificC
docs: {
description: "Enforces the usage of specific Chakra component.",
recommended: "error",
url: "https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/master/docs/rules/require-specific-component.md",
url: "https://github.com/yukukotani/eslint-plugin-chakra-ui/blob/main/docs/rules/require-specific-component.md",
},
messages: {
requireSpecificComponent:
Expand Down

0 comments on commit 58c0ea2

Please sign in to comment.