> For the complete documentation index, see [llms.txt](https://developers.raycast.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.raycast.com/misc/migration/v1.48.8.md).

# v1.48.8

This version introduces a new ESLint configuration file when creating new extensions with the `Create Extension` command. However, extensions prior to v1.48.8 still use the deprecated configuration.

You can use `npx ray migrate` to use the new ESLint configuration and your `.eslintrc.json` file as well as your dependencies should be updated.

If the migration didn't go well or if you defined the ESLint configuration in another place, please follow the steps below.

First, install `@raycast/eslint-config` as part of your dev dependencies:

```sh
npm install @raycast/eslint-config --save-dev
```

The previous default configuration looks like this:

```json
{
  "root": true,
  "env": {
    "es2020": true,
    "node": true
  },
  "parser": "@typescript-eslint/parser",
  "plugins": ["@typescript-eslint"],
  "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"]
}
```

With `@raycast/eslint-config`, you can replace the whole file with only the following:

```json
{
  "root": true,
  "extends": [
    "@raycast"
  ]
}
```

If you added plugins, turned on/off rules, or anything else modifying the ESLint configuration, it's up to you to merge it with the new configuration.

Finally, you can remove these ESLint dependencies:

```sh
npm uninstall @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers.raycast.com/misc/migration/v1.48.8.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
