Updated linter to 3.0.0

This commit is contained in:
thomashii@dukefirehawk.com 2023-12-24 10:39:45 +08:00
parent d4794dbbd1
commit 6fd8f56b52
14 changed files with 36 additions and 16 deletions

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 8.1.0
* Updated `lints` to 3.0.0
* Fixed linter warnings
## 8.0.0 ## 8.0.0
* Require Dart >= 3.0 * Require Dart >= 3.0

View file

@ -1,5 +1,5 @@
name: angel3_jael name: angel3_jael
version: 8.0.0 version: 8.1.0
description: Angel support for the Jael templating engine, similar to Blade or Liquid. description: Angel support for the Jael templating engine, similar to Blade or Liquid.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael
@ -17,7 +17,7 @@ dev_dependencies:
angel3_test: ^8.0.0 angel3_test: ^8.0.0
html: ^0.15.0 html: ^0.15.0
test: ^1.24.0 test: ^1.24.0
lints: ^2.1.0 lints: ^3.0.0
# dependency_overrides: # dependency_overrides:
# angel3_container: # angel3_container:
# path: ../../container/angel_container # path: ../../container/angel_container

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 8.1.0
* Updated `lints` to 3.0.0
* Fixed linter warnings
## 8.0.0 ## 8.0.0
* Require Dart >= 3.0 * Require Dart >= 3.0

View file

@ -1,4 +1,4 @@
part of jael.src.text.parselet; part of 'parselet.dart';
const Map<TokenType, InfixParselet> infixParselets = { const Map<TokenType, InfixParselet> infixParselets = {
TokenType.lParen: CallParselet(), TokenType.lParen: CallParselet(),

View file

@ -1,4 +1,4 @@
part of jael.src.text.parselet; part of 'parselet.dart';
const Map<TokenType, PrefixParselet> prefixParselets = { const Map<TokenType, PrefixParselet> prefixParselets = {
TokenType.exclamation: NotParselet(), TokenType.exclamation: NotParselet(),

View file

@ -1,5 +1,5 @@
name: jael3 name: jael3
version: 8.0.0 version: 8.1.0
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid. description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael
@ -15,7 +15,7 @@ dependencies:
collection: ^1.17.0 collection: ^1.17.0
matcher: ^0.12.10 matcher: ^0.12.10
dev_dependencies: dev_dependencies:
lints: ^2.1.0 lints: ^3.0.0
test: ^1.24.0 test: ^1.24.0
executables: executables:
jaelfmt: jaelfmt jaelfmt: jaelfmt

View file

@ -5,7 +5,7 @@ import 'object.dart';
class Analyzer extends Parser { class Analyzer extends Parser {
final Logger logger; final Logger logger;
Analyzer(Scanner scanner, this.logger) : super(scanner); Analyzer(super.scanner, this.logger);
//@override //@override
//final errors = <JaelError>[]; //final errors = <JaelError>[];

View file

@ -1,5 +1,5 @@
name: jael3_language_server name: jael3_language_server
version: 8.0.0 version: 8.1.0
description: Language Server Protocol implementation for the Jael templating engine. description: Language Server Protocol implementation for the Jael templating engine.
homepage: https://github.com/angel-dart/vscode homepage: https://github.com/angel-dart/vscode
publish_to: none publish_to: none
@ -18,7 +18,7 @@ dependencies:
path: ^1.8.0 path: ^1.8.0
source_span: ^1.10.0 source_span: ^1.10.0
string_scanner: ^1.2.0 string_scanner: ^1.2.0
lints: ^2.1.0 lints: ^3.0.0
stream_channel: ^2.1.0 stream_channel: ^2.1.0
async: ^2.11.0 async: ^2.11.0
executables: executables:

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 8.1.0
* Updated `lints` to 3.0.0
* Fixed linter warnings
## 8.0.0 ## 8.0.0
* Require Dart >= 3.0 * Require Dart >= 3.0

View file

@ -1,5 +1,5 @@
name: jael3_preprocessor name: jael3_preprocessor
version: 8.0.0 version: 8.1.0
description: A pre-processor for resolving blocks and includes within Jael templates. description: A pre-processor for resolving blocks and includes within Jael templates.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor
@ -13,7 +13,7 @@ dependencies:
dev_dependencies: dev_dependencies:
belatuk_code_buffer: ^5.0.0 belatuk_code_buffer: ^5.0.0
test: ^1.24.0 test: ^1.24.0
lints: ^2.1.0 lints: ^3.0.0
# dependency_overrides: # dependency_overrides:
# jael3: # jael3:
# path: ../jael # path: ../jael

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 8.1.0
* Updated `lints` to 3.0.0
* Fixed linter warnings
## 8.0.1 ## 8.0.1
* Fixed `hasStatus` mismatch message * Fixed `hasStatus` mismatch message

View file

@ -1,5 +1,5 @@
name: angel3_test name: angel3_test
version: 8.0.1 version: 8.1.0
description: Testing utility library for the Angel3 framework. Use with package:test. description: Testing utility library for the Angel3 framework. Use with package:test.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/test repository: https://github.com/dukefirehawk/angel/tree/master/packages/test
@ -18,7 +18,7 @@ dependencies:
web_socket_channel: ^2.4.0 web_socket_channel: ^2.4.0
dev_dependencies: dev_dependencies:
test: ^1.24.0 test: ^1.24.0
lints: ^2.1.0 lints: ^3.0.0
# dependency_overrides: # dependency_overrides:
# angel3_validate: # angel3_validate:
# path: ../validate # path: ../validate

View file

@ -4,7 +4,7 @@
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0
* Fixed linter warnings * Fixed linter warnings
* Locked `web_socket_channel` to 2.4.0 temporarily. Starting with 2.4.1, its dependency on `dart:html` has been changed to `package:web` which is still highly experimental. * Updated `web_socket_channel` to versions below 2.4.1 temporarily. Starting with 2.4.1, its dependency on `dart:html` has been changed to `package:web` which requires a code refactoring to resolve.
## 8.0.0 ## 8.0.0

View file

@ -10,11 +10,11 @@ dependencies:
angel3_client: ^8.0.0 angel3_client: ^8.0.0
angel3_framework: ^8.0.0 angel3_framework: ^8.0.0
angel3_http_exception: ^8.0.0 angel3_http_exception: ^8.0.0
belatuk_merge_map: ^5.0.0 belatuk_merge_map: ^5.1.0
http: ^1.0.0 http: ^1.0.0
meta: ^1.8.0 meta: ^1.8.0
stream_channel: ^2.1.0 stream_channel: ^2.1.0
web_socket_channel: 2.4.0 web_socket_channel: '>=2.1.0 <2.4.1'
collection: ^1.17.0 collection: ^1.17.0
logging: ^1.1.0 logging: ^1.1.0
dev_dependencies: dev_dependencies: