Skip to content

Commit

Permalink
Merge pull request #135 from NFDI4Chem/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
CS76 authored Aug 28, 2023
2 parents 92a1633 + ea81efc commit 9938432
Show file tree
Hide file tree
Showing 17 changed files with 7,045 additions and 3,752 deletions.
163 changes: 88 additions & 75 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,80 +1,93 @@
{
"env":{
"browser":true,
"es2021":true
},
"extends":[
"plugin:react/recommended",
"airbnb",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"

],
"parser":"@typescript-eslint/parser",
"parserOptions":{
"ecmaFeatures":{
"jsx":true
},
"ecmaVersion":12,
"sourceType":"module"
},
"plugins":[
"react",
"@typescript-eslint",
"react-hooks"
],
"rules":{
"react/require-default-props":"off",
"react/react-in-jsx-scope":"off",
"no-use-before-define": ["error"],
"@typescript-eslint/no-use-before-define":[
"error"
],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],

"react/jsx-filename-extension":[
"warn",
{
"extensions":[
".tsx"
]
}
],
"import/extensions":[
"error",
"ignorePackages",
{
"ts":"never",
"tsx":"never"
}
],

"@typescript-eslint/explicit-function-return-type":"off",
"react-hooks/rules-of-hooks":"error",
"react-hooks/exhaustive-deps":"warn",
"import/prefer-default-export":"off",
"react/prop-types":"off",
"react/no-unknown-property": ["error", { "ignore": ["css"] }]




},
"settings":{
"import/resolver":{
"typescript":{

}
}
},
"overrides": [
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"airbnb",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"react-hooks"
],
"rules": {
"import/no-unresolved": "off",
"react/require-default-props": "off",
"react/react-in-jsx-scope": "off",
"no-use-before-define": [
"error"
],
"@typescript-eslint/no-use-before-define": [
"error"
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"react/jsx-filename-extension": [
"warn",
{
"extensions": [
".tsx"
]
}
],
"import/extensions": [
"error",
"ignorePackages",
{
"": "never",
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"@typescript-eslint/explicit-function-return-type": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"import/prefer-default-export": "off",
"react/prop-types": "off",
"react/no-unknown-property": [
"error",
{
"ignore": [
"css"
]
}
]
},
"settings": {
"import/resolve": {
"typescript": {},
"paths": [
"src/"
]
}
},
"overrides": [
{
"files":["src/*.json"],
"rules":{
"files": [
"src/*.json"
],
"rules": {
"no-unused-expressions": "off"
}

}
]
}
]
}
49 changes: 27 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- <link rel="shortcut icon" href="/favicon.ico" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>NMRium Wrapper</title>

<style>
html,
body,
#root {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
<head>
<meta charset="utf-8" />
<!-- <link rel="shortcut icon" href="/favicon.ico" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#ea580c" />
<title>NMRium Wrapper</title>
<meta name="description"
content="Wrapper for NMRium which is a powerful tool for displaying and processing nuclear magnetic resonance (NMR) spectra">

<style>
html,
body,
#root {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>

</html>
Loading

0 comments on commit 9938432

Please sign in to comment.