-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1069 from LukasKalbertodt/redesign
Implement Redesign of whole application
- Loading branch information
Showing
111 changed files
with
17,193 additions
and
35,714 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
parserOpts: { | ||
strictMode: true, | ||
}, | ||
plugins: ['@emotion'], | ||
presets: [ | ||
['@babel/preset-env', { | ||
// Set to `true` to show which transforms will be run | ||
// during the build | ||
debug: false, | ||
}], | ||
[ | ||
'@babel/preset-typescript', | ||
{ | ||
allowDeclareFields: true, | ||
}, | ||
], | ||
[ | ||
'@babel/preset-react', | ||
{ | ||
runtime: 'automatic', | ||
importSource: '@emotion/react', | ||
}, | ||
], | ||
], | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,19 @@ | ||
{ | ||
"extends": ["react-app", "plugin:react/recommended"], | ||
"plugins": ["@babel"], | ||
|
||
"extends": ["@opencast/eslint-config-ts-react"], | ||
"rules": { | ||
"no-tabs": "error", | ||
"react/jsx-pascal-case": "off", | ||
"react/prop-types": 0, | ||
"react/no-unknown-property": ["error", { "ignore": ["sx"] }], | ||
"react/jsx-curly-spacing": "warn", | ||
"no-unused-expressions": "off", | ||
"@babel/no-unused-expressions": "warn", | ||
"quotes": ["warn", "single", { "avoidEscape": true }], | ||
|
||
"arrow-parens": ["error", "as-needed"], | ||
"arrow-spacing": "error", | ||
"block-spacing": ["error", "always"], | ||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }], | ||
"comma-dangle": ["warn", "only-multiline"], | ||
"comma-spacing": "warn", | ||
"comma-style": "warn", | ||
"curly": "warn", | ||
"eol-last": ["error", "always"], | ||
"func-call-spacing": ["error", "never"], | ||
"indent": ["error", 2, { "SwitchCase": 1, "MemberExpression": "off" }], | ||
"jsx-quotes": ["error", "prefer-double"], | ||
"keyword-spacing": "warn", | ||
"linebreak-style": ["error", "unix"], | ||
"max-len": ["error", { "code": 120, "ignoreUrls": true }], | ||
"no-multi-spaces": ["warn", { "ignoreEOLComments": true }], | ||
"no-trailing-spaces": "error", | ||
"object-curly-spacing": ["error", "always", { "arraysInObjects": false, "objectsInObjects": false }], | ||
"semi": ["error", "always"], | ||
"semi-spacing": "warn", | ||
"space-before-function-paren": ["error", "never"], | ||
"space-before-blocks": "warn", | ||
"space-infix-ops": "error", | ||
"space-in-parens": "warn" | ||
"@typescript-eslint/member-delimiter-style": "warn" | ||
}, | ||
"settings": { | ||
"react": { | ||
"pragma": "jsx", | ||
"version": "detect" | ||
} | ||
} | ||
"overrides": [ | ||
{ | ||
"files": ["./webpack.config.ts"], | ||
"parserOptions": { | ||
"project": false | ||
} | ||
} | ||
], | ||
"ignorePatterns": [ | ||
"node_modules", | ||
"old-src", | ||
"build" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,5 @@ | |
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
tsconfig.tsbuildinfo |
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
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
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.