Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eslint and prettier to code base #26

Merged
merged 7 commits into from
Dec 30, 2023
Merged

Add eslint and prettier to code base #26

merged 7 commits into from
Dec 30, 2023

Conversation

cbrianball
Copy link
Owner

Cleanup issues found by linters

Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 91.13% 1100 / 1207
🔵 Statements 91.13% 1100 / 1207
🔵 Functions 88.88% 72 / 81
🔵 Branches 81.49% 185 / 227
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/index.ts 100% 100% 100% 100%
src/v4.ts 100% 100% 100% 100%
src/lib/BooleanPredicateBuilder.ts 100% 42.85% 100% 100%
src/lib/ExcludeProperties.ts 0% 0% 0% 0% 1-10
src/lib/Expression.ts 100% 100% 100% 100%
src/lib/ExpressionOperator.ts 100% 100% 100% 100%
src/lib/ExpressionVisitor.ts 0% 0% 0% 0% 1-8
src/lib/FieldReference.ts 100% 100% 100% 100%
src/lib/FieldsForType.ts 0% 0% 0% 0% 1-4
src/lib/FilterAccessoryFunctions.ts 94.59% 71.42% 80% 94.59% 22-23
src/lib/JsonPrimitiveTypes.ts 0% 0% 0% 0% 1-4
src/lib/Literal.ts 100% 100% 100% 100%
src/lib/ODataContext.ts 100% 100% 100% 100%
src/lib/ODataQuery.ts 93.13% 90.32% 86.66% 93.13% 151-153, 165-168, 189-197
src/lib/ODataQueryProvider.ts 97.89% 86.95% 100% 97.89% 53, 82
src/lib/ODataResponse.ts 0% 0% 0% 0% 1-32
src/lib/ODataType.ts 100% 100% 100% 100%
src/lib/ODataV4Context.ts 100% 100% 100% 100%
src/lib/ODataV4ExpressionVisitor.ts 94.81% 82.14% 100% 94.81% 94-95, 106, 122, 153, 163, 166-167, 197, 199, 204
src/lib/ODataV4QueryProvider.ts 96% 90% 100% 96% 41-42, 49-50
src/lib/ProxyFilterTypes.ts 100% 100% 100% 100%
src/lib/ProxyPropertyPredicate.ts 96.66% 79.16% 100% 96.66% 98-99, 109-110
src/lib/ProxyTypes.ts 100% 100% 100% 100%
src/lib/SubType.ts 0% 0% 0% 0% 1-10
src/lib/TypedExpressionVisitor.ts 100% 80% 100% 100%
Generated in workflow #75

@cbrianball cbrianball merged commit 90e1114 into main Dec 30, 2023
@cbrianball cbrianball deleted the feature/lint branch December 30, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant