-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into feat/katsu-config
# Conflicts: # package-lock.json # src/components/App.js # src/components/datasets/DatasetForm.js # src/components/datasets/DatasetFormModal.js # src/components/display/FileDisplay.js # src/components/manager/projects/Project.js # src/components/manager/projects/ProjectCreationModal.js # src/components/manager/projects/ProjectForm.js # src/components/manager/projects/RoutedProject.js # src/hooks.ts # src/modules/discovery/actions.js # src/modules/discovery/reducers.js # src/modules/services/actions.js # src/modules/services/hooks.js # src/modules/user/actions.js # src/propTypes.js
- Loading branch information
Showing
260 changed files
with
20,251 additions
and
17,499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,72 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
env: { | ||
browser: true, | ||
es6: true, | ||
}, | ||
"extends": [ | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"prettier", | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly", | ||
"process": "readonly", | ||
globals: { | ||
Atomics: "readonly", | ||
SharedArrayBuffer: "readonly", | ||
process: "readonly", | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true, | ||
"modules": true, | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
modules: true, | ||
}, | ||
"sourceType": "module", | ||
sourceType: "module", | ||
}, | ||
"plugins": [ | ||
"react", | ||
"@typescript-eslint", | ||
], | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1, | ||
"ignoredNodes": [ | ||
"JSXElement", | ||
"JSXElement > *", | ||
"JSXAttribute", | ||
"JSXIdentifier", | ||
"JSXNamespacedName", | ||
"JSXMemberExpression", | ||
"JSXSpreadAttribute", | ||
"JSXExpressionContainer", | ||
"JSXOpeningElement", | ||
"JSXClosingElement", | ||
"JSXText", | ||
"JSXEmptyExpression", | ||
"JSXSpreadChild", | ||
], | ||
"ignoreComments": true, | ||
} | ||
], | ||
plugins: ["react", "@typescript-eslint", "prettier"], | ||
rules: { | ||
"prettier/prettier": "error", | ||
"react/jsx-indent-props": ["error", "first"], | ||
|
||
// Don't need React for JSX anymore with new JSX transform | ||
"react/react-in-jsx-scope": "off", | ||
"react/jsx-uses-react": "off", | ||
|
||
// Prevent some legacy HTML tags | ||
"react/forbid-elements": ["error", {"forbid": ["b", "font"]}], | ||
|
||
"react/forbid-elements": ["error", { forbid: ["b", "font"] }], | ||
"react/prop-types": ["error", { ignore: ["form", "match", "history"] }], | ||
"react-hooks/exhaustive-deps": "error", | ||
"no-prototype-builtins": "off", | ||
"react/display-name": "off", | ||
|
||
"linebreak-style": ["error", "unix"], | ||
"react/prop-types": ["error", {"ignore": ["form", "match", "history"]}], | ||
"quotes": ["error", "double"], | ||
"semi": ["error", "always"], | ||
quotes: ["error", "double"], | ||
semi: ["error", "always"], | ||
"semi-spacing": ["error"], | ||
"no-var": ["error"], | ||
"prefer-const": ["error"], | ||
"eqeqeq": ["error"], | ||
"max-len": ["error", {"code": 120}], | ||
eqeqeq: ["error"], | ||
"max-len": ["error", { code: 124, tabWidth: 2, ignoreComments: true }], | ||
"no-trailing-spaces": ["error"], | ||
"space-before-blocks": ["error", "always"], | ||
"eol-last": ["error", "always"], | ||
"no-restricted-globals": ["error", "event"], | ||
"brace-style": ["error", "1tbs"], | ||
"camelcase": ["error", {"properties": "never"}], | ||
camelcase: ["error", { properties: "never" }], | ||
"space-infix-ops": ["error"], | ||
"keyword-spacing": ["error", {"before": true, "after": true}], | ||
"comma-dangle": ["error", { | ||
"arrays": "always-multiline", | ||
"objects": "always-multiline", | ||
"imports": "always-multiline", | ||
"exports": "always-multiline", | ||
"functions": "always-multiline", | ||
}], | ||
|
||
// @typescript-eslint tweaks | ||
"keyword-spacing": ["error", { before: true, after: true }], | ||
"comma-dangle": [ | ||
"error", | ||
{ | ||
arrays: "always-multiline", | ||
objects: "always-multiline", | ||
imports: "always-multiline", | ||
exports: "always-multiline", | ||
functions: "always-multiline", | ||
}, | ||
], | ||
"@typescript-eslint/consistent-type-imports": "error", | ||
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }], | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
settings: { | ||
react: { | ||
version: "detect", | ||
}, | ||
}, | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"printWidth": 120, | ||
"trailingComma": "all", | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": false, | ||
"bracketSpacing": true, | ||
"arrowParens": "always", | ||
"jsxSingleQuote": false, | ||
"endOfLine": "lf" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.