Skip to content

Commit

Permalink
docs: update docs website domain
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Jul 22, 2024
1 parent c69f277 commit b399197
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ body:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Read the [docs](https://eslint-plugin-perfectionist.azat.io).
- label: Read the [docs](https://perfectionist.dev).
required: true
- label: Check that there isn't [already an issue](https://github.com/azat-io/eslint-plugin-perfectionist/issues) that reports the same bug to avoid creating a duplicate.
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/new-rule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Read the [docs](https://eslint-plugin-perfectionist.azat.io).
- label: Read the [docs](https://perfectionist.dev).
required: true
- label: Check that there isn't [already an issue](https://github.com/azat-io/eslint-plugin-perfectionist/issues) that reports the same bug to avoid creating a duplicate.
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/rule-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ body:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Read the [docs](https://eslint-plugin-perfectionist.azat.io).
- label: Read the [docs](https://perfectionist.dev).
required: true
- label: Check that there isn't [already an issue](https://github.com/azat-io/eslint-plugin-perfectionist/issues) that reports the same bug to avoid creating a duplicate.
required: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eslint-plugin-perfectionist",
"description": "ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.",
"version": "2.11.0",
"homepage": "https://eslint-plugin-perfectionist.azat.io",
"homepage": "https://perfectionist.dev",
"repository": "azat-io/eslint-plugin-perfectionist",
"author": "Azat S. <[email protected]>",
"license": "MIT",
Expand Down
56 changes: 28 additions & 28 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Sorting imports and properties in software development offers numerous benefits:

## 📖 Documentation

See [docs](https://eslint-plugin-perfectionist.azat.io).
See [docs](https://perfectionist.dev).

![ESLint Plugin Perfectionist alphabetical usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-dark.webp#gh-dark-mode-only)
![ESLint Plugin Perfectionist alphabetical usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-light.webp#gh-light-mode-only)
Expand Down Expand Up @@ -130,46 +130,46 @@ export default [

### List of Configs

| Name | Description |
| :------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------- |
| [recommended-alphabetical](https://eslint-plugin-perfectionist.azat.io/configs/recommended-alphabetical) | all plugin rules with alphabetical sorting in ascending order |
| [recommended-natural](https://eslint-plugin-perfectionist.azat.io/configs/recommended-natural) | all plugin rules with natural sorting in ascending order |
| [recommended-line-length](https://eslint-plugin-perfectionist.azat.io/configs/recommended-line-length) | all plugin rules with sorting by line length in descending order |
| Name | Description |
| :------------------------------------------------------------------------------------- | :--------------------------------------------------------------- |
| [recommended-alphabetical](https://perfectionist.dev/configs/recommended-alphabetical) | all plugin rules with alphabetical sorting in ascending order |
| [recommended-natural](https://perfectionist.dev/configs/recommended-natural) | all plugin rules with natural sorting in ascending order |
| [recommended-line-length](https://perfectionist.dev/configs/recommended-line-length) | all plugin rules with sorting by line length in descending order |

## ✅ Rules

<!-- begin auto-generated rules list -->

🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).

| Name | Description | 🔧 |
| :--------------------------------------------------------------------------------------------------- | :------------------------------------------ | :-- |
| [sort-array-includes](https://eslint-plugin-perfectionist.azat.io/rules/sort-array-includes) | enforce sorted arrays before include method | 🔧 |
| [sort-astro-attributes](https://eslint-plugin-perfectionist.azat.io/rules/sort-astro-attributes) | enforce sorted Astro attributes | 🔧 |
| [sort-classes](https://eslint-plugin-perfectionist.azat.io/rules/sort-classes) | enforce sorted classes | 🔧 |
| [sort-enums](https://eslint-plugin-perfectionist.azat.io/rules/sort-enums) | enforce sorted TypeScript enums | 🔧 |
| [sort-exports](https://eslint-plugin-perfectionist.azat.io/rules/sort-exports) | enforce sorted exports | 🔧 |
| [sort-imports](https://eslint-plugin-perfectionist.azat.io/rules/sort-imports) | enforce sorted imports | 🔧 |
| [sort-interfaces](https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces) | enforce sorted interface properties | 🔧 |
| [sort-intersection-types](https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types) | enforce sorted intersection types | 🔧 |
| [sort-jsx-props](https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props) | enforce sorted JSX props | 🔧 |
| [sort-maps](https://eslint-plugin-perfectionist.azat.io/rules/sort-maps) | enforce sorted Map elements | 🔧 |
| [sort-named-exports](https://eslint-plugin-perfectionist.azat.io/rules/sort-named-exports) | enforce sorted named exports | 🔧 |
| [sort-named-imports](https://eslint-plugin-perfectionist.azat.io/rules/sort-named-imports) | enforce sorted named imports | 🔧 |
| [sort-object-types](https://eslint-plugin-perfectionist.azat.io/rules/sort-object-types) | enforce sorted object types | 🔧 |
| [sort-objects](https://eslint-plugin-perfectionist.azat.io/rules/sort-objects) | enforce sorted objects | 🔧 |
| [sort-svelte-attributes](https://eslint-plugin-perfectionist.azat.io/rules/sort-svelte-attributes) | enforce sorted Svelte attributes | 🔧 |
| [sort-switch-case](https://eslint-plugin-perfectionist.azat.io/rules/sort-switch-case) | enforce sorted switch case statements | 🔧 |
| [sort-union-types](https://eslint-plugin-perfectionist.azat.io/rules/sort-union-types) | enforce sorted union types | 🔧 |
| [sort-vue-attributes](https://eslint-plugin-perfectionist.azat.io/rules/sort-vue-attributes) | enforce sorted Vue attributes | 🔧 |
| Name | Description | 🔧 |
| :--------------------------------------------------------------------------------- | :------------------------------------------ | :-- |
| [sort-array-includes](https://perfectionist.dev/rules/sort-array-includes) | enforce sorted arrays before include method | 🔧 |
| [sort-astro-attributes](https://perfectionist.dev/rules/sort-astro-attributes) | enforce sorted Astro attributes | 🔧 |
| [sort-classes](https://perfectionist.dev/rules/sort-classes) | enforce sorted classes | 🔧 |
| [sort-enums](https://perfectionist.dev/rules/sort-enums) | enforce sorted TypeScript enums | 🔧 |
| [sort-exports](https://perfectionist.dev/rules/sort-exports) | enforce sorted exports | 🔧 |
| [sort-imports](https://perfectionist.dev/rules/sort-imports) | enforce sorted imports | 🔧 |
| [sort-interfaces](https://perfectionist.dev/rules/sort-interfaces) | enforce sorted interface properties | 🔧 |
| [sort-intersection-types](https://perfectionist.dev/rules/sort-intersection-types) | enforce sorted intersection types | 🔧 |
| [sort-jsx-props](https://perfectionist.dev/rules/sort-jsx-props) | enforce sorted JSX props | 🔧 |
| [sort-maps](https://perfectionist.dev/rules/sort-maps) | enforce sorted Map elements | 🔧 |
| [sort-named-exports](https://perfectionist.dev/rules/sort-named-exports) | enforce sorted named exports | 🔧 |
| [sort-named-imports](https://perfectionist.dev/rules/sort-named-imports) | enforce sorted named imports | 🔧 |
| [sort-object-types](https://perfectionist.dev/rules/sort-object-types) | enforce sorted object types | 🔧 |
| [sort-objects](https://perfectionist.dev/rules/sort-objects) | enforce sorted objects | 🔧 |
| [sort-svelte-attributes](https://perfectionist.dev/rules/sort-svelte-attributes) | enforce sorted Svelte attributes | 🔧 |
| [sort-switch-case](https://perfectionist.dev/rules/sort-switch-case) | enforce sorted switch case statements | 🔧 |
| [sort-union-types](https://perfectionist.dev/rules/sort-union-types) | enforce sorted union types | 🔧 |
| [sort-vue-attributes](https://perfectionist.dev/rules/sort-vue-attributes) | enforce sorted Vue attributes | 🔧 |

<!-- end auto-generated rules list -->

## ⁉️ FAQ

### Can I automatically fix problems in the editor?

Yes. To do this, you need to enable autofix in ESLint when you save the file in your editor. Instructions for your editor can be found [here](https://eslint-plugin-perfectionist.azat.io/guide/integrations).
Yes. To do this, you need to enable autofix in ESLint when you save the file in your editor. Instructions for your editor can be found [here](https://perfectionist.dev/guide/integrations).

### Is it safety?

Expand All @@ -183,7 +183,7 @@ I love Prettier. However, this is not his area of responsibility. Prettier is us

There are rules of ESLint and other ESLint plugins that may conflict with the rules of ESLint Plugin Perfectionist. We strongly recommend that you [disable rules](https://eslint.org/docs/latest/use/configure/rules#using-configuration-files-1) with similar functionality.

I recommend that you read the [documentation](https://eslint-plugin-perfectionist.azat.io) before using any rules.
I recommend that you read the [documentation](https://perfectionist.dev) before using any rules.

<details>
<summary>Possible conflicts</summary>
Expand Down
2 changes: 1 addition & 1 deletion utils/create-eslint-rule.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ESLintUtils } from '@typescript-eslint/utils'

export let createEslintRule = ESLintUtils.RuleCreator(
ruleName => `https://eslint-plugin-perfectionist.azat.io/rules/${ruleName}`,
ruleName => `https://perfectionist.dev/rules/${ruleName}`,
)

0 comments on commit b399197

Please sign in to comment.