Skip to content

Commit 613ece3

Browse files
committed
fix(hubble): resolve eslint warning on Task page and add missing license headers
1 parent cadd662 commit 613ece3

22 files changed

Lines changed: 260 additions & 46 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,4 @@ codeium-instructions.md
143143
.ai-instructions.md
144144
*.ai-prompt.md
145145
WARP.md
146+
/.agents

hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/service/schema/GroovySchemaCompatibility.java

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
3-
* contributor license agreements. See the NOTICE file distributed with
4-
* this work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
4+
* contributor license agreements. See the NOTICE file distributed with this
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
package org.apache.hugegraph.service.schema;

hugegraph-hubble/hubble-be/src/test/java/org/apache/hugegraph/unit/GroovySchemaCompatibilityTest.java

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
3-
* contributor license agreements. See the NOTICE file distributed with
4-
* this work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
4+
* contributor license agreements. See the NOTICE file distributed with this
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
package org.apache.hugegraph.unit;

hugegraph-hubble/hubble-fe/src/accessible-click-actions.test.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
34
* contributor license agreements. See the NOTICE file distributed with this
4-
* work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
import fs from 'fs';

hugegraph-hubble/hubble-fe/src/components/ColorSelect/index.test.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
34
* contributor license agreements. See the NOTICE file distributed with this
4-
* work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
import {render, screen} from '@testing-library/react';

hugegraph-hubble/hubble-fe/src/components/FormListAction/index.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
34
* contributor license agreements. See the NOTICE file distributed with this
4-
* work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
import {Button} from 'antd';

hugegraph-hubble/hubble-fe/src/components/KeyboardAction/index.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
34
* contributor license agreements. See the NOTICE file distributed with this
4-
* work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
import {useCallback} from 'react';

hugegraph-hubble/hubble-fe/src/components/KeyboardAction/index.test.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
34
* contributor license agreements. See the NOTICE file distributed with this
4-
* work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
import {useCallback, useState} from 'react';

hugegraph-hubble/hubble-fe/src/components/RowActionButton/index.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
34
* contributor license agreements. See the NOTICE file distributed with this
4-
* work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
import {Button} from 'antd';

hugegraph-hubble/hubble-fe/src/pages/Account/account-recovery.test.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/*
2+
*
23
* Licensed to the Apache Software Foundation (ASF) under one or more
34
* contributor license agreements. See the NOTICE file distributed with this
4-
* work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0.
5+
* work for additional information regarding copyright ownership. The ASF
6+
* licenses this file to You under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
* License for the specific language governing permissions and limitations
16+
* under the License.
617
*/
718

819
import {render, screen} from '@testing-library/react';

0 commit comments

Comments
 (0)