2dfa1b6b14
* Add Openstack support * Fix datasource getting * Restore example config + remove useless vscode dir * Restore example config + remove useless vscode dir * Add config.ts to the entryPoints list * Fix indenting problems with switch-case * Replace openstack-swift-client * Add openstack to the config validator * Rename Openstack to Swift * Better error handling for swift * More error handling * Update Swift.ts Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
25 lines
No EOL
863 B
JSON
25 lines
No EOL
863 B
JSON
{
|
|
"extends": ["next", "next/core-web-vitals"],
|
|
"rules": {
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
"linebreak-style": ["error", "unix"],
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "always"],
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
"jsx-quotes": ["error", "prefer-single"],
|
|
"react/prop-types": "off",
|
|
"react-hooks/rules-of-hooks": "off",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"react/jsx-uses-react": "warn",
|
|
"react/jsx-uses-vars": "warn",
|
|
"react/no-danger-with-children": "warn",
|
|
"react/no-deprecated": "warn",
|
|
"react/no-direct-mutation-state": "warn",
|
|
"react/no-is-mounted": "warn",
|
|
"react/no-typos": "error",
|
|
"react/react-in-jsx-scope": "error",
|
|
"react/require-render-return": "error",
|
|
"react/style-prop-object": "warn",
|
|
"@next/next/no-img-element": "off"
|
|
}
|
|
} |