Skip to content

Alex/v3.1

Alex/v3.1 #156

GitHub Actions / ESLint failed Feb 12, 2025 in 0s

41 errors and 3 warnings

ESLint found 41 errors and 3 warnings

Annotations

Check failure on line 17 in src/classes/APIError.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/classes/APIError.mjs#L17

Missing space before function parentheses (space-before-function-paren)

Check failure on line 20 in src/classes/APIError.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/classes/APIError.mjs#L20

No magic number: 4 (no-magic-numbers)

Check failure on line 260 in src/classes/Authentication.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/classes/Authentication.mjs#L260

No magic number: 4 (no-magic-numbers)

Check failure on line 1 in src/classes/EventStream.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/classes/EventStream.js#L1

`../files/build` import should occur after import of `./StatusCode` (import/order)

Check failure on line 7 in src/classes/Localisation.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/classes/Localisation.mjs#L7

Caution: `i18next` also has a named export `init`. Check if you meant to write `import {init} from 'i18next'` instead (import/no-named-as-default-member)

Check failure on line 1 in src/classes/Permission.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/classes/Permission.mjs#L1

`../files/permissions` import should occur after import of `./Context` (import/order)

Check failure on line 2 in src/classes/Sessions.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/classes/Sessions.mjs#L2

`../emails/session` import should occur after import of `./TokenGenerators` (import/order)

Check failure on line 4 in src/db/Client.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/db/Client.mjs#L4

`./Model` import should occur before import of `../helpers/Validators` (import/order)

Check failure on line 3 in src/db/Code.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/db/Code.mjs#L3

`./Model` import should occur before import of `../classes/Permission` (import/order)

Check failure on line 2 in src/db/Decal.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/db/Decal.mjs#L2

`./Model` import should occur before import of `../helpers/Validators` (import/order)

Check failure on line 3 in src/db/Group.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/db/Group.mjs#L3

`./Model` import should occur before import of `../classes/Permission` (import/order)

Check failure on line 2 in src/db/Rat.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/db/Rat.mjs#L2

`./Model` import should occur before import of `../helpers/Validators` (import/order)

Check failure on line 2 in src/db/Ship.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/db/Ship.mjs#L2

`./Model` import should occur before import of `../helpers/Validators` (import/order)

Check failure on line 2 in src/db/Token.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/db/Token.mjs#L2

`./Model` import should occur before import of `../classes/Permission` (import/order)

Check failure on line 4 in src/helpers/Validators.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/helpers/Validators.mjs#L4

`./RegexLiteral` import should occur before import of `../classes/APIError` (import/order)

Check failure on line 234 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L234

Expected indentation of 0 spaces but found 2 (indent)

Check failure on line 235 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L235

Expected indentation of 2 spaces but found 4 (indent)

Check failure on line 236 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L236

Expected indentation of 4 spaces but found 6 (indent)

Check failure on line 237 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L237

Expected indentation of 4 spaces but found 6 (indent)

Check failure on line 238 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L238

Expected indentation of 4 spaces but found 6 (indent)

Check failure on line 239 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L239

Expected indentation of 4 spaces but found 6 (indent)

Check failure on line 240 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L240

Expected indentation of 6 spaces but found 8 (indent)

Check failure on line 241 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L241

Expected indentation of 6 spaces but found 8 (indent)

Check failure on line 242 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L242

Expected indentation of 4 spaces but found 6 (indent)

Check failure on line 243 in src/index.mjs

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/index.mjs#L243

Expected indentation of 2 spaces but found 4 (indent)