Fix new lines at the end of file

This commit is contained in:
Szymon Uglis 2021-02-09 01:37:01 +01:00
parent 10747150b3
commit 53b0712dac
No known key found for this signature in database
GPG Key ID: 112376C5BEE91FE2
38 changed files with 38 additions and 38 deletions

View File

@ -17,4 +17,4 @@ after_failure:
cache:
directories:
- $HOME/.pub-cache
- $HOME/.pub-cache

View File

@ -19,4 +19,4 @@ If adding new functionality or modifying existing, documentation should be added
We attempt to conform [Effective Dart Coding Style](https://dart.dev/guides/language/effective-dart/style) where possible.
However, code style rules are not enforcement and code should be readable and easy to maintain.
**One exception to rules above is line limit - we use 120 character line limit instead of 80 chars.**
**One exception to rules above is line limit - we use 120 character line limit instead of 80 chars.**

View File

@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON
## Credits
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).

View File

@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON
## Credits
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).

View File

@ -108,4 +108,4 @@ linter:
- prefer_iterable_whereType
- prefer_mixin
- prefer_null_aware_operators
- prefer_spread_collections
- prefer_spread_collections

View File

@ -202,4 +202,4 @@ abstract class ICommandRegistrable {
this._commandEntities.add(entity);
}
}
}

View File

@ -27,4 +27,4 @@ extension _CommandMatcher on Iterable<CommandEntity> {
return null;
}
}
}

View File

@ -10,4 +10,4 @@ _24.08.2020_
* Scheduler module for invoking repeatable actions
* Additional general utils
* Message resolver module for resolving raw message content into human readable form
* Attachment extensions for vm
* Attachment extensions for vm

View File

@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON
## Credits
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).

View File

@ -107,4 +107,4 @@ linter:
- prefer_iterable_whereType
- prefer_mixin
- prefer_null_aware_operators
- prefer_spread_collections
- prefer_spread_collections

View File

@ -1 +1 @@
export "src/attachment_extension.dart";
export "src/attachment_extension.dart";

View File

@ -6,4 +6,4 @@ import "package:nyxx/nyxx.dart";
import "package:http/http.dart" as http;
part "src/emoji/EmojiDefinition.dart";
part "src/emoji/EmojiUtils.dart";
part "src/emoji/EmojiUtils.dart";

View File

@ -1,2 +1,2 @@
export "src/message_resolver/Regexes.dart";
export "src/message_resolver/message_resolver.dart";
export "src/message_resolver/message_resolver.dart";

View File

@ -1 +1 @@
export "src/pagination/pagination.dart";
export "src/pagination/pagination.dart";

View File

@ -1 +1 @@
export "src/scheduler/scheduler.dart";
export "src/scheduler/scheduler.dart";

View File

@ -15,4 +15,4 @@ extension DownloadAttachmentExtensions on Attachment {
/// Downloads attachment as returns bytes of downloaded file.
Future<Uint8List> downloadAsBytes() async => (await http.get(Uri.parse(this.url))).bodyBytes;
}
}

View File

@ -35,4 +35,4 @@ Future<Iterable<EmojiDefinition>> getAllEmojiDefinitions({bool cache = false}) a
}
return _emojis;
}
}

View File

@ -292,4 +292,4 @@ FutureOr<String> _defaultMissingEntityHandler(String entityType) {
default:
return "";
}
}
}

View File

@ -24,4 +24,4 @@ class ScheduledEvent {
/// Stops [ScheduledEvent] if running.
void stop() => _timer.cancel();
}
}

View File

@ -37,4 +37,4 @@ class StringUtils {
return split(str, len);
}
}
}

View File

@ -1 +1 @@
export "src/utils.dart";
export "src/utils.dart";

View File

@ -3,4 +3,4 @@ import "package:nyxx_extensions/emoji.dart";
main() async {
final emojis = await getAllEmojiDefinitions();
assert(emojis.isNotEmpty, "Emojis cannot be empty");
}
}

View File

@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON
## Credits
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).
* [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx).

View File

@ -108,4 +108,4 @@ linter:
- prefer_iterable_whereType
- prefer_mixin
- prefer_null_aware_operators
- prefer_spread_collections
- prefer_spread_collections

View File

@ -2,4 +2,4 @@ part of nyxx;
class CategoryGuildChannel extends GuildChannel {
CategoryGuildChannel._new(Nyxx client, Map<String, dynamic> raw, [Snowflake? guildId]): super._new(client, raw, guildId);
}
}

View File

@ -37,4 +37,4 @@ class VoiceGuildChannel extends GuildChannel {
throw InvalidShardException._new("Cannot find shard for this channel!");
}
}
}
}

View File

@ -49,4 +49,4 @@ class GuildFeature extends IEnum<String> {
return super == other;
}
}
}

View File

@ -80,4 +80,4 @@ class RoleTags {
this.nitroRole = raw["premium_subscriber"] != null ? raw["premium_subscriber"] as bool : false;
this.integrationId = raw["integration_id"] != null ? Snowflake(raw["integration_id"]) : null;
}
}
}

View File

@ -7,4 +7,4 @@ abstract class IEmoji {
/// Returns encoded emoji for usage in message
String formatForMessage();
}
}

View File

@ -18,4 +18,4 @@ class UnicodeEmoji implements IEmoji {
@override
String toString() => this.formatForMessage();
}
}

View File

@ -10,4 +10,4 @@ class RawEvent {
final Map<String, dynamic> rawData;
RawEvent._new(this.shard, this.rawData);
}
}

View File

@ -139,4 +139,4 @@ class _MessageCacheable<U extends TextChannel> extends Cacheable<Snowflake, Mess
return null;
}
}
}

View File

@ -9,4 +9,4 @@ class EmbedBuilderArgumentException implements Exception {
@override
String toString() => "EmbedBuilderArgumentException: $message";
}
}

View File

@ -6,4 +6,4 @@ class HttpClientException extends http.ClientException {
// ignore: public_member_api_docs
HttpClientException(this.response) : super("Exception", response?.request?.url);
}
}

View File

@ -9,4 +9,4 @@ class InvalidShardException implements Exception {
@override
String toString() => "InvalidShardException: Unsupported shard operation: $message";
}
}

View File

@ -8,4 +8,4 @@ class InvalidSnowflakeException implements Exception {
@override
String toString() => "InvalidSnowflakeException: Cannot parse [$_invalidSnowflake] to Snowflake";
}
}

View File

@ -23,4 +23,4 @@ class _HttpClient extends http.BaseClient {
return response;
}
}
}

View File

@ -84,4 +84,4 @@ class ShardManager implements Disposable {
await this._onDisconnect.close();
await this._onMemberChunk.close();
}
}
}