Implement ESLint rules based on TypeScript/JavaScript patterns analysis with test exceptions and update Copilot instructions #785
Annotations
10 errors, 10 warnings, and 9 notices
|
Lint:
eslint.config.js#L6
`typescript-eslint` import should occur after import of `eslint-plugin-unused-imports`
|
|
Lint:
eslint.config.js#L4
`globals` import should occur after import of `eslint-plugin-unused-imports`
|
|
Lint:
eslint.config.js#L3
`eslint/config` import should occur after import of `@eslint/js`
|
|
Lint:
apps/test-app/index.ts#L1
There should be at least one empty line between import groups
|
|
Lint:
apps/test-app/App.tsx#L75
`import()` type annotations are forbidden
|
|
Lint:
apps/test-app/App.tsx#L12
`@react-native-node-api/node-tests` import should occur before import of `react`
|
|
Lint:
apps/test-app/App.tsx#L11
`@react-native-node-api/node-addon-examples` import should occur before import of `react`
|
|
Lint:
apps/test-app/App.tsx#L4
`mocha-remote-react-native` import should occur before import of `react`
|
|
Lint:
apps/test-app/App.tsx#L4
There should be no empty line within import group
|
|
Lint:
apps/test-app/App.tsx#L2
There should be no empty line within import group
|
|
Lint:
packages/cmake-rn/src/platforms/android.ts#L106
Unnecessary conditional, comparison is always true, since `"current-development" === "current-development"` is true
|
|
Lint:
packages/cmake-rn/src/cli.ts#L316
Unexpected object value in conditional. The condition is always true
|
|
Lint:
packages/cmake-rn/src/cli.ts#L316
Unnecessary conditional, value is always falsy
|
|
Lint:
packages/cmake-rn/src/cli.ts#L223
Unexpected value in conditional. A boolean expression is required
|
|
Lint:
packages/cmake-rn/src/cli.ts#L206
Unnecessary conditional, comparison is always true, since `0 === 0` is true
|
|
Lint:
packages/cmake-rn/src/cli.ts#L198
Unexpected value in conditional. A boolean expression is required
|
|
Lint:
packages/cmake-rn/src/cli.ts#L189
Unexpected any value in conditional. An explicit comparison or type conversion is required
|
|
Lint:
packages/cmake-rn/src/cli.ts#L48
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
|
|
Lint:
packages/cli-utils/src/errors.ts#L31
Unexpected any value in conditional. An explicit comparison or type conversion is required
|
|
Lint:
packages/cli-utils/src/actions.ts#L37
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
|
|
Unit tests (ubuntu-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 698.235ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 534.988ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 49
Suites π: 24
Passed β
: 48
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 1
Todo π: 0
Duration π: 126234.683ms
|
|
Unit tests (macos-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 458.332ms
|
|
Unit tests (macos-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 613.494ms
|
|
Unit tests (macos-latest)
Total Tests: 54
Suites π: 28
Passed β
: 54
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 111797.189ms
|
|
Unit tests (windows-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 953.979ms
|
|
Unit tests (windows-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 776.778ms
|
|
Unit tests (windows-latest)
Total Tests: 49
Suites π: 24
Passed β
: 46
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 3
Todo π: 0
Duration π: 189421.986ms
|