feat(frontend): Replace ESLint with OXC hybrid linting architecture (#35506)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2025-10-30 09:26:21 -07:00
committed by GitHub
parent a5eb02d178
commit 8ccdf3b32b
121 changed files with 2243 additions and 755 deletions

View File

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { css, JsonValue, styled, t } from '@superset-ui/core';
import { css, JsonValue, styled, t, useTheme } from '@superset-ui/core';
// eslint-disable-next-line no-restricted-imports
import { Button } from '@superset-ui/core/components/Button';
import { Form } from '@superset-ui/core/components/Form';
@@ -127,6 +127,7 @@ export const StyledSaveButton = styled(Button)`
export const LayerConfigsPopoverContent: FC<
LayerConfigsPopoverContentProps
> = ({ onClose = () => {}, onSave = () => {}, layerConf }) => {
const theme = useTheme();
const [currentLayerConf, setCurrentLayerConf] =
useState<LayerConf>(layerConf);
const initialWmsVersion =
@@ -179,20 +180,17 @@ export const LayerConfigsPopoverContent: FC<
symbolizers: [
{
kind: 'Line',
// eslint-disable-next-line theme-colors/no-literal-colors
color: '#000000',
color: theme.colorTextBase,
width: 2,
},
{
kind: 'Mark',
wellKnownName: 'circle',
// eslint-disable-next-line theme-colors/no-literal-colors
color: '#000000',
color: theme.colorTextBase,
},
{
kind: 'Fill',
// eslint-disable-next-line theme-colors/no-literal-colors
color: '#000000',
color: theme.colorTextBase,
},
],
},