You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using a different package manager, run `npm info "@grafana/eslint-config@latest" peerDependencies` to list the peer dependencies and versions. Then run `yarn add --dev <dependency1>@<version> <dependency2>@<version> <dependency3>@<version>` for the listed peer dependencies.
32
32
33
-
## Configuration (legacy: .eslintrc\*)
34
-
35
-
Extend our configuration to get reasonable defaults:
36
-
37
-
```json
38
-
{
39
-
"extends": ["@grafana/eslint-config"]
40
-
}
41
-
```
42
-
43
-
It will automatically handle `*.(js|ts|tsx)` files.
44
-
45
33
## Configuration (new: eslint.config.js)
46
34
47
35
From v8.21.0, Eslint introduced a new flat config system where `eslint.config.js` replaces `.eslintrc*` as the default config file name. Eslint@8.x supports both systems, while Eslint@9.x only supports the new flat config.
0 commit comments