mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Matthias Kretschmann
3729c63581
* migrate to Next.js * migrate scripts * generate markdown pages * make all the markdown work * fix profile, fix image loading * git+ssh → git+https, again * bump packages * maybe windows build fix * add public to gitignore Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * Next.js v12! Webpack 5! No build hacks anymore * json import fixes * fixes Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
{
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": { "jsx": true }
|
|
},
|
|
"env": { "browser": true, "node": true, "es2020": true, "jest": true },
|
|
"settings": {
|
|
"react": { "version": "detect" }
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.ts", "**/*.tsx"],
|
|
"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": {
|
|
"react/prop-types": "off",
|
|
"react/no-unused-prop-types": "off",
|
|
"react/jsx-no-bind": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"no-use-before-define": "off",
|
|
"@typescript-eslint/no-use-before-define": "error"
|
|
}
|
|
}
|
|
]
|
|
}
|