Skip to content

Commit

Permalink
docs: update repo url
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 11, 2024
1 parent b9cbf9c commit 618eb66
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 40 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 @@ -13,7 +13,7 @@ body:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Follow our [Code of Conduct](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CODE_OF_CONDUCT.md)
- label: Follow our [Code of Conduct](https://github.com/eslint-community/eslint-stylistic/blob/main/CODE_OF_CONDUCT.md)
required: true
- label: Read the [Contributing Guide](https://eslint.style/contribute/guide).
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ body:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Follow our [Code of Conduct](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CODE_OF_CONDUCT.md)
- label: Follow our [Code of Conduct](https://github.com/eslint-community/eslint-stylistic/blob/main/CODE_OF_CONDUCT.md)
required: true
- label: Read the [Contributing Guide](https://eslint.style/contribute/guide).
required: true
Expand Down
8 changes: 4 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const PACKAGES: DefaultTheme.NavItemWithLink[] = [

const VERSIONS: DefaultTheme.NavItemWithLink[] = [
{ text: `v${version} (current)`, link: '/' },
{ text: `Release Notes`, link: 'https://github.com/eslint-stylistic/eslint-stylistic/releases' },
{ text: `Contributing`, link: 'https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CONTRIBUTING.md' },
{ text: `Release Notes`, link: 'https://github.com/eslint-community/eslint-stylistic/releases' },
{ text: `Contributing`, link: 'https://github.com/eslint-community/eslint-stylistic/blob/main/CONTRIBUTING.md' },
]

const packageNames: Record<string, string> = {
Expand Down Expand Up @@ -272,15 +272,15 @@ export default defineConfig({

editLink: {
// don't add docs/:path, missing tsconfig file
pattern: 'https://github.com/eslint-stylistic/eslint-stylistic/edit/main/:path',
pattern: 'https://github.com/eslint-community/eslint-stylistic/edit/main/:path',
text: 'Suggest changes to this page',
},
search: {
provider: 'local',
},

socialLinks: [
{ icon: 'github', link: 'https://github.com/eslint-stylistic/eslint-stylistic' },
{ icon: 'github', link: 'https://github.com/eslint-community/eslint-stylistic' },
{ icon: 'discord', link: 'https://eslint.style/chat' },
],

Expand Down
2 changes: 1 addition & 1 deletion docs/contribute/project-progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We are currently at the **Maintenance** stage.

The rules for both JavaScript and TypeScript are migrated and released as beta versions. They are usable already but might need further testing. We are waiting for ESLint's announcement to finalize the rules list. Before that, **be aware that the rules included in `eslint-stylistic` might be changed** if you want to start migrating (we recommend to pin the dependency versions).

Also check out our [project plans](https://github.com/eslint-stylistic/eslint-stylistic/issues/1) for more details.
Also check out our [project plans](https://github.com/eslint-community/eslint-stylistic/issues/1) for more details.

## ✅ 1. Migration Infra

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/config-presets.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = {

:::

Refer to the [source code](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/configs/customize.ts) for the full list of configured rules.
Refer to the [source code](https://github.com/eslint-community/eslint-stylistic/blob/main/packages/eslint-plugin/configs/customize.ts) for the full list of configured rules.

Currently this factory is only available in the [`@stylistic/eslint-plugin`](/packages/default) package.

Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.7.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme",
"homepage": "https://github.com/eslint-community/eslint-stylistic#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/eslint-stylistic/eslint-stylistic.git",
"url": "git+https://github.com/eslint-community/eslint-stylistic.git",
"directory": "packages/eslint-plugin-js"
},
"bugs": {
"url": "https://github.com/eslint-stylistic/eslint-stylistic/issues"
"url": "https://github.com/eslint-community/eslint-stylistic/issues"
},
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ ruleTester.run('comma-dangle', rule, {
parser: parser('return-type-2'),
},

// https://github.com/eslint-stylistic/eslint-stylistic/issues/158
// https://github.com/eslint-community/eslint-stylistic/issues/158
{ code: 'a => 42;', options: ['always'], parserOptions: { ecmaVersion: 'latest' } },
],
invalid: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ ruleTester.run('padding-line-between-statements', rule, {
],
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
},
// https://github.com/eslint-stylistic/eslint-stylistic/pull/257
// https://github.com/eslint-community/eslint-stylistic/pull/257
{
code: 'var a = 0; export * from "foo"\n\nbar()',
options: [
Expand Down Expand Up @@ -3580,7 +3580,7 @@ ruleTester.run('padding-line-between-statements', rule, {
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
errors: [{ messageId: 'expectedBlankLine' }],
},
// https://github.com/eslint-stylistic/eslint-stylistic/pull/257
// https://github.com/eslint-community/eslint-stylistic/pull/257
{
code: 'var a = 0;export * from "foo"\nbar()',
output: 'var a = 0;export * from "foo"\n\nbar()',
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.7.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme",
"homepage": "https://github.com/eslint-community/eslint-stylistic#readme",
"repository": {
"directory": "packages/eslint-plugin-jsx",
"type": "git",
"url": "git+https://github.com/eslint-stylistic/eslint-stylistic.git"
"url": "git+https://github.com/eslint-community/eslint-stylistic.git"
},
"bugs": {
"url": "https://github.com/eslint-stylistic/eslint-stylistic/issues"
"url": "https://github.com/eslint-community/eslint-stylistic/issues"
},
"exports": {
".": {
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"description": "ESLint plugin to migrate built-in rules to stylistic rules",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme",
"homepage": "https://github.com/eslint-community/eslint-stylistic#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/eslint-stylistic/eslint-stylistic.git",
"url": "git+https://github.com/eslint-community/eslint-stylistic.git",
"directory": "packages/eslint-plugin-migrate"
},
"bugs": {
"url": "https://github.com/eslint-stylistic/eslint-stylistic/issues"
"url": "https://github.com/eslint-community/eslint-stylistic/issues"
},
"main": "./dist/index.cjs",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-plus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.7.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme",
"homepage": "https://github.com/eslint-community/eslint-stylistic#readme",
"repository": {
"directory": "packages/eslint-plugin-plus",
"type": "git",
"url": "git+https://github.com/eslint-stylistic/eslint-stylistic.git"
"url": "git+https://github.com/eslint-community/eslint-stylistic.git"
},
"bugs": {
"url": "https://github.com/eslint-stylistic/eslint-stylistic/issues"
"url": "https://github.com/eslint-community/eslint-stylistic/issues"
},
"exports": {
".": {
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.7.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme",
"homepage": "https://github.com/eslint-community/eslint-stylistic#readme",
"repository": {
"directory": "packages/eslint-plugin-ts",
"type": "git",
"url": "git+https://github.com/eslint-stylistic/eslint-stylistic.git"
"url": "git+https://github.com/eslint-community/eslint-stylistic.git"
},
"bugs": {
"url": "https://github.com/eslint-stylistic/eslint-stylistic/issues"
"url": "https://github.com/eslint-community/eslint-stylistic/issues"
},
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ type Qux = [string,
],
},

// https://github.com/eslint-stylistic/eslint-stylistic/issues/35
// https://github.com/eslint-community/eslint-stylistic/issues/35
{
code: 'const id = <T,>(x: T) => x;',
parserOptions: {
Expand Down Expand Up @@ -273,7 +273,7 @@ type Qux = [string,
errors: [{ messageId: 'unexpected' }],
},

// https://github.com/eslint-stylistic/eslint-stylistic/issues/35
// https://github.com/eslint-community/eslint-stylistic/issues/35
// When there is more than one generic, we don't need to workaround it
{
code: 'const id = <T,R,>(x: T) => x;',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default createRule<RuleOptions, MessageIds>({
* because it's used to differentiate JSX tags from generics.
*
* https://github.com/microsoft/TypeScript/issues/15713#issuecomment-499474386
* https://github.com/eslint-stylistic/eslint-stylistic/issues/35
* https://github.com/eslint-community/eslint-stylistic/issues/35
*/
if (isTSX && node.type === AST_NODE_TYPES.TSTypeParameterDeclaration && node.params.length === 1)
return
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-ts/rules/indent/indent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ const foo : Foo<{
},
],
},
// https://github.com/eslint-stylistic/eslint-stylistic/pull/256
// https://github.com/eslint-community/eslint-stylistic/pull/256
{
code: `
type FooAlias = Foo<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ ruleTester.run('padding-line-between-statements', rule, {
],
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
},
// https://github.com/eslint-stylistic/eslint-stylistic/pull/257
// https://github.com/eslint-community/eslint-stylistic/pull/257
{
code: 'var a = 0; export * from "foo"\n\nbar()',
options: [
Expand Down Expand Up @@ -2822,7 +2822,7 @@ var a = 1
// ESLint Stylistic
// ----------------------------------------------------------------------

// Function overloads https://github.com/eslint-stylistic/eslint-stylistic/issues/190
// Function overloads https://github.com/eslint-community/eslint-stylistic/issues/190
{
code: [
'function foo(): void;',
Expand Down Expand Up @@ -3539,7 +3539,7 @@ var a = 1
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
errors: [{ messageId: 'expectedBlankLine' }],
},
// https://github.com/eslint-stylistic/eslint-stylistic/pull/257
// https://github.com/eslint-community/eslint-stylistic/pull/257
{
code: 'var a = 0;export * from "foo"\nbar()',
output: 'var a = 0;export * from "foo"\n\nbar()',
Expand Down Expand Up @@ -5169,7 +5169,7 @@ declare namespace Types {
errors: [{ messageId: 'expectedBlankLine' }],
},

// https://github.com/eslint-stylistic/eslint-stylistic/issues/53
// https://github.com/eslint-community/eslint-stylistic/issues/53
{
code: `const path = require('node:path');\nmodule.exports = {};`,
output: `const path = require('node:path');\n\nmodule.exports = {};`,
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.7.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme",
"homepage": "https://github.com/eslint-community/eslint-stylistic#readme",
"repository": {
"directory": "packages/eslint-plugin",
"type": "git",
"url": "git+https://github.com/eslint-stylistic/eslint-stylistic.git"
"url": "git+https://github.com/eslint-community/eslint-stylistic.git"
},
"bugs": {
"url": "https://github.com/eslint-stylistic/eslint-stylistic/issues"
"url": "https://github.com/eslint-community/eslint-stylistic/issues"
},
"exports": {
".": {
Expand Down
6 changes: 3 additions & 3 deletions packages/metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"description": "Metadata for eslint-stylistic packages",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme",
"homepage": "https://github.com/eslint-community/eslint-stylistic#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/eslint-stylistic/eslint-stylistic.git",
"url": "git+https://github.com/eslint-community/eslint-stylistic.git",
"directory": "packages/metadata"
},
"bugs": {
"url": "https://github.com/eslint-stylistic/eslint-stylistic/issues"
"url": "https://github.com/eslint-community/eslint-stylistic/issues"
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit 618eb66

Please sign in to comment.