Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"redhat.vscode-yaml",
"github.vscode-pull-request-github"
"github.vscode-pull-request-github",
"oxc.oxc-vscode",
"redhat.vscode-yaml"
]
}
}
Expand Down
10 changes: 2 additions & 8 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@
"rangeStrategy": "replace"
},
{
"groupName": "eslint",
"matchPackageNames": [
"@eslint/**",
"@stylistic/**",
"eslint",
"eslint-**",
"typescript-eslint"
]
"groupName": "oxlint",
"matchPackageNames": ["oxlint", "oxlint-tsgolint"]
},
{
"groupName": "vitest",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
run: pnpm install

- name: Lint
run: pnpm run lint
run: pnpm run lint --format=github

- name: Check formatting
run: pnpm prettier --check .
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ node_modules/
# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
Expand Down Expand Up @@ -111,3 +109,4 @@ cypress/screenshots
cypress/videos

_local/
.claude/
6 changes: 3 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"redhat.vscode-yaml",
"github.vscode-pull-request-github"
"github.vscode-pull-request-github",
"oxc.oxc-vscode",
"redhat.vscode-yaml"
]
}
3 changes: 0 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
// Enable eslint validation for js and ts files
"eslint.validate": ["javascript", "typescript"],

// Always use the `package.json`'s `typescript`
"typescript.tsdk": "node_modules/typescript/lib",

Expand Down
6 changes: 2 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This is a shorthand for running the following scripts in order:
- `pnpm run generate:locales` - generates locale files
- `pnpm run generate:api-docs` - generates API documentation
- `pnpm run format` - runs [prettify](https://github.com/prettier/prettier) to format code
- `pnpm run lint` - runs [ESLint](https://github.com/eslint/eslint) to enforce project code standards
- `pnpm run lint` - runs [oxlint](https://oxc.rs/docs/guide/usage/linter) to enforce project code standards
- `pnpm run build:clean` - removes artifacts from previous builds
- `pnpm run build:code` - builds the code
- `pnpm run test:update-snapshots` - runs all tests, and updates any snapshots if needed
Expand Down Expand Up @@ -301,9 +301,7 @@ function foo(options: { test: string }) {
- `@internal` - If the method is not intended to be used by the end user, e.g. a helper function.
- `@remark` - If the method depends on external data not being controlled by Faker, e.g. a third-party image provider.

> We use eslint-plugin-jsdoc to test for basic styling and sorting of doc-tags.

This is in place so all JSDoc tags will get sorted automatically, so you don't have to bother with it. This also means that most rules in this section can get auto fixed by the eslint formatter.
> We use oxlint with the jsdoc plugin to test for basic styling of doc-tags.

> JSDocs should always be multiline

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/submit-a-pull-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ It is a shorthand for running the following scripts in order:
- `pnpm run generate:locales` - generates locale files
- `pnpm run generate:api-docs` - generates API documentation
- `pnpm run format` - runs [prettier](https://github.com/prettier/prettier) to format code
- `pnpm run lint` - runs [ESLint](https://github.com/eslint/eslint) to enforce project code standards
- `pnpm run lint` - runs [oxlint](https://oxc.rs/docs/guide/usage/linter) to enforce project code standards
- `pnpm run build:clean` - removes artifacts from previous builds
- `pnpm run build:code` - builds the code
- `pnpm run test:update-snapshots` - runs all tests with [vitest](https://github.com/vitest-dev/vitest), and updates any snapshots if needed
Expand Down
293 changes: 0 additions & 293 deletions eslint.config.ts

This file was deleted.

Loading
Loading