Skip to content
Codacy Production / Codacy Static Code Analysis required action Sep 18, 2024 in 0s

22 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 22
           

Complexity increasing per file
==============================
- src/components/Calendar.js  1
- src/index.js  1
         

See the complete overview on Codacy

Annotations

Check failure on line 1 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L1

"react" is extraneous.

Check notice on line 1 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L1

Replace `'react'` with `"react"`

Check failure on line 2 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L2

Can't resolve 'modern-react-agenda' in '/src/src/components'

Check notice on line 2 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L2

Replace `'modern-react-agenda'` with `"modern-react-agenda"`

Check notice on line 9 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L9

Replace `'/api/events'` with `"/api/events"`

Check failure on line 9 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L9

The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=16.0.0'.

Check failure on line 9 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L9

fetch is not supported in op_mini all

Check notice on line 10 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L10

Replace `(response` with `((response)`

Check notice on line 11 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L11

Replace `data` with `(data)`

Check notice on line 16 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L16

disallow literal string: <h1>Sports Events Calendar</h1>

Check notice on line 22 in src/components/Calendar.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/components/Calendar.js#L22

Insert `⏎`

Check failure on line 1 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L1

"react" is extraneous.

Check notice on line 1 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L1

Replace `'react'` with `"react"`

Check failure on line 2 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L2

"react-dom" is extraneous.

Check notice on line 2 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L2

Replace `'react-dom'` with `"react-dom"`

Check failure on line 3 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L3

Can't resolve './index.css' in '/src/src'

Check failure on line 3 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L3

Import path mush be a path alias

Check notice on line 3 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L3

Replace `'./index.css'` with `"./index.css"`

Check failure on line 4 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L4

Import path mush be a path alias

Check notice on line 4 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L4

Replace `'./components/Calendar'` with `"./components/Calendar"`

Check notice on line 14 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L14

ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot

Check notice on line 14 in src/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/index.js#L14

Replace `'root'` with `"root"`