mirror of
https://github.com/oceanprotocol/react.git
synced 2024-11-21 17:27:02 +01:00
fcaeac28e4
* Bump eslint-config-prettier from 7.2.0 to 8.1.0 Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.1.0. - [Release notes](https://github.com/prettier/eslint-config-prettier/releases) - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.1.0) Signed-off-by: dependabot[bot] <support@github.com> * eslint config updates Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
26 lines
607 B
Plaintext
26 lines
607 B
Plaintext
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": ["./tsconfig.json"]
|
|
},
|
|
"extends": [
|
|
"oceanprotocol",
|
|
"oceanprotocol/react",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
|
"rules": {
|
|
"no-use-before-define": "off",
|
|
"@typescript-eslint/no-use-before-define": "error"
|
|
},
|
|
"env": { "es6": true, "node": true },
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|