Skip to content

Commit d98236d

Browse files
committed
AMBARI-26509 React application basic setup
Fix licensing issues
1 parent 4119417 commit d98236d

47 files changed

Lines changed: 12912 additions & 558 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ambari-web/latest/eslint.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
2+
/**
3+
* Licensed to the Apache Software Foundation (ASF) under one
4+
* or more contributor license agreements. See the NOTICE file
5+
* distributed with this work for additional information
6+
* regarding copyright ownership. The ASF licenses this file
7+
* to you under the Apache License, Version 2.0 (the
8+
* "License"); you may not use this file except in compliance
9+
* with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/
119
import js from '@eslint/js'
220
import globals from 'globals'
321
import reactHooks from 'eslint-plugin-react-hooks'
@@ -19,9 +37,12 @@ export default tseslint.config(
1937
},
2038
rules: {
2139
...reactHooks.configs.recommended.rules,
40+
'no-unused-vars': 'off',
41+
'@typescript-eslint/no-unused-vars': ['error', { 'varsIgnorePattern': '^_', "argsIgnorePattern": "^_" }],
2242
'react-refresh/only-export-components': [
2343
'warn',
2444
{ allowConstantExport: true },
45+
2546
],
2647
},
2748
},

ambari-web/latest/index.html

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
1-
<!doctype html>
1+
<!--
2+
/**
3+
* Licensed to the Apache Software Foundation (ASF) under one
4+
* or more contributor license agreements. See the NOTICE file
5+
* distributed with this work for additional information
6+
* regarding copyright ownership. The ASF licenses this file
7+
* to you under the Apache License, Version 2.0 (the
8+
* "License"); you may not use this file except in compliance
9+
* with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/ -->
19+
<!DOCTYPE html>
220
<html lang="en">
321
<head>
422
<meta charset="UTF-8" />
523
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
624
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React + TS</title>
25+
<title>Ambari</title>
826
</head>
927
<body>
1028
<div id="root"></div>

0 commit comments

Comments
 (0)