Skip to content

Commit

Permalink
Merge pull request #85 from fkleon/lints-3
Browse files Browse the repository at this point in the history
Update to lints 3.0.0
  • Loading branch information
fkleon authored Feb 13, 2024
2 parents 9166582 + 3da7140 commit e3aa10a
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/src/algebra.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of math_expressions;
part of '../math_expressions.dart';

/// A point in 3-dimensional space, which is a Vector3.
/// This implementation supplies common mathematical operations on points.
Expand Down Expand Up @@ -31,7 +31,7 @@ class Point3 extends Vector3 {
/// Checks for equality. Two points are considered equal, if their coordinates
/// match.
@override
bool operator ==(Object? o) {
bool operator ==(Object o) {
if (o is Point3) {
return this.x == o.x && this.y == o.y && this.z == o.z;
} else {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/evaluator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of math_expressions;
part of '../math_expressions.dart';

/// Mathematical expressions must be evaluated under a certain [EvaluationType].
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/expression.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of math_expressions;
part of '../math_expressions.dart';

/// Any Expression supports basic mathematical operations like
/// addition, subtraction, multiplication, division, power and negate.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/functions.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of math_expressions;
part of '../math_expressions.dart';

/// A function with an arbitrary number of arguments.
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of math_expressions;
part of '../math_expressions.dart';

/// The Parser creates a mathematical [Expression] from a given input string.
///
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
vector_math: ^2.1.0

dev_dependencies:
lints: ^2.1.1
lints: ^3.0.0
test: ^1.16.7

environment:
Expand Down
2 changes: 1 addition & 1 deletion test/algebra_test_set.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of math_expressions_test;
part of 'math_expressions_test.dart';

/// Contains methods to test the math algebra implementation.
class AlgebraTests extends TestSet {
Expand Down
3 changes: 1 addition & 2 deletions test/expression_test_set.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// ignore_for_file: unused_local_variable

part of math_expressions_test;
part of 'math_expressions_test.dart';

/// Contains methods to test the math expression implementation.
class ExpressionTests extends TestSet {
Expand Down
2 changes: 1 addition & 1 deletion test/parser_test_set.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of math_expressions_test;
part of 'math_expressions_test.dart';

/// Contains a test set for testing the parser and lexer
class ParserTests extends TestSet {
Expand Down

0 comments on commit e3aa10a

Please sign in to comment.