From 68ac1f96db7b790fec8b4757eeed4bc21db21389 Mon Sep 17 00:00:00 2001 From: Yuepeng Pan Date: Thu, 4 Jun 2026 00:44:05 +0800 Subject: [PATCH] [FLINK-39836][runtime-web] Add missing License Header to .eslintrc.js and .stylelintrc.js in web-dashboard --- flink-runtime-web/web-dashboard/.eslintrc.js | 17 +++++++++++++++++ flink-runtime-web/web-dashboard/.stylelintrc.js | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/flink-runtime-web/web-dashboard/.eslintrc.js b/flink-runtime-web/web-dashboard/.eslintrc.js index b85852fde23ba..cafaa5bba7703 100644 --- a/flink-runtime-web/web-dashboard/.eslintrc.js +++ b/flink-runtime-web/web-dashboard/.eslintrc.js @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { root: true, overrides: [ diff --git a/flink-runtime-web/web-dashboard/.stylelintrc.js b/flink-runtime-web/web-dashboard/.stylelintrc.js index 666d95366d31f..f0455f2e4e3cc 100644 --- a/flink-runtime-web/web-dashboard/.stylelintrc.js +++ b/flink-runtime-web/web-dashboard/.stylelintrc.js @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { plugins: ['stylelint-order'], extends: ['stylelint-config-standard', 'stylelint-config-hudochenkov/order', 'stylelint-prettier/recommended'],