Skip to content

Commit aea5cd4

Browse files
committed
eslinted tsx/javascript files
Signed-off-by: BluThaitanium <[email protected]>
1 parent 46e4d6b commit aea5cd4

Some content is hidden

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

66 files changed

+3830
-3622
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ lint_python: venv ## Check Python code style compliance
4545
--per-file-ignores ./*:F841,F821 \
4646
--exclude .git,__pycache__,docs/source/conf.py,old,build,dist,venv \
4747
--max-line-length=140
48-
@echo "$@: OK"
48+
@echo "$@: OK"
4949

5050
.PHONY: lint_javascript
5151
lint_javascript: ## Check Javascript code style compliance
5252
@cd dashboard/origin-mlx && npm run lint -- --fix
53-
@echo "$@: OK"
53+
@echo "$@: OK"

dashboard/origin-mlx/.eslintrc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,11 @@ overrides:
6868
class-methods-use-this: 'off'
6969
consistent-return: 'off'
7070
default-case: 'off'
71-
func-names: 'off'
7271
import/no-named-as-default: 'off'
7372
max-classes-per-file: 'off'
7473
max-len: 'off'
7574
no-console: 'off'
7675
no-constant-condition: 'off'
77-
no-empty: 'off'
7876
no-mixed-operators: 'off'
7977
no-nested-ternary: 'off'
8078
no-param-reassign: 'off'

dashboard/origin-mlx/src/App.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/*
1+
/*
22
* Copyright 2021 The MLX Contributors
3-
*
3+
*
44
* SPDX-License-Identifier: Apache-2.0
5-
*/
5+
*/
66
import React from 'react';
77
import ReactDOM from 'react-dom';
88
import App from './App';

0 commit comments

Comments
 (0)