chore: Remove CSpell regex bypasses (part 3) (#2753)

Remove CSpell regex bypasses (part 3) and fix violations accordingly
This commit is contained in:
Luan Nico
2023-09-20 21:08:13 -07:00
committed by GitHub
parent 9105411d46
commit 7313cd5352
11 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,5 @@
# keywords/terms specific to the Dart/Flutter ecosystem
cupertino # Flutter module containing iOS-style widgets
dartdoc # documentation tool for dart
dartdocs # plural of dartdoc
endtemplate # Use @endtemplate to close a @template block in dartdoc

View File

@ -14,6 +14,7 @@ Overmind # A character in the game StarCraft
padracing # A pad racing game by BlueFire https://github.com/flame-engine/flame/tree/main/examples/games/padracing
Patreon # A membership platform that provides tools for content creators to run a subscription service https://patreon.com
Prosser # A character from the book The Hitchhiker's Guide to the Galaxy
riverpod # A state management library for Flutter https://github.com/rrousselGit/riverpod
skel # Extension for skeleton files from Spine https://en.esotericsoftware.com/spine-in-depth
Skia # Skia is an open source 2D graphics library used by Flutter https://github.com/google/skia
spineboy # Name of a famous character used as an example for Spine https://en.esotericsoftware.com/spine-examples-spineboy

View File

@ -59,6 +59,7 @@ orientable # can be oriented
pathfinding # computer algorithm to find the best path through a world or maze
perlin # Perlin Noise, a type of noise generating algorithm
polyline # a connected series of line segments
quadtree # a tree-based data structure where each node has exactly 4 children
raycast # act of raycasting
raycasting # same as raytracing
raycasts # plural of raycast

2
.github/cspell.json vendored
View File

@ -11,8 +11,6 @@
"**/CHANGELOG.md"
],
"ignoreRegExpList": [
"\\:\\w+",
"\\/\\w+",
"\\#[\\w\\-]+"
],
"dictionaries": [

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -2,9 +2,9 @@ import 'package:dashbook/dashbook.dart';
import 'package:examples/commons/commons.dart';
import 'package:examples/stories/sprites/base64_sprite_example.dart';
import 'package:examples/stories/sprites/basic_sprite_example.dart';
import 'package:examples/stories/sprites/sprite_batch_example.dart';
import 'package:examples/stories/sprites/sprite_batch_load_example.dart';
import 'package:examples/stories/sprites/sprite_group_example.dart';
import 'package:examples/stories/sprites/spritebatch_example.dart';
import 'package:examples/stories/sprites/spritebatch_load_example.dart';
import 'package:examples/stories/sprites/spritesheet_example.dart';
import 'package:flame/game.dart';
@ -31,13 +31,13 @@ void addSpritesStories(Dashbook dashbook) {
..add(
'SpriteBatch',
(_) => GameWidget(game: SpriteBatchExample()),
codeLink: baseLink('sprites/spritebatch_example.dart'),
codeLink: baseLink('sprites/sprite_batch_example.dart'),
info: SpriteBatchExample.description,
)
..add(
'SpriteBatch Auto Load',
(_) => GameWidget(game: SpriteBatchLoadExample()),
codeLink: baseLink('sprites/spritebatch_load_example.dart'),
codeLink: baseLink('sprites/sprite_batch_load_example.dart'),
info: SpriteBatchLoadExample.description,
)
..add(

View File

@ -46,7 +46,7 @@ class Background extends SvgComponent
Future<void>? onLoad() async {
await super.onLoad();
svg = await game.loadSvg('svgs/checkboard.svg');
svg = await game.loadSvg('svgs/checkerboard.svg');
}
}

View File

@ -3,7 +3,7 @@ import 'package:examples/commons/commons.dart';
import 'package:examples/stories/system/overlays_example.dart';
import 'package:examples/stories/system/pause_resume_example.dart';
import 'package:examples/stories/system/step_engine_example.dart';
import 'package:examples/stories/system/without_flamegame_example.dart';
import 'package:examples/stories/system/without_flame_game_example.dart';
import 'package:flame/game.dart';
void addSystemStories(Dashbook dashbook) {
@ -23,7 +23,7 @@ void addSystemStories(Dashbook dashbook) {
..add(
'Without FlameGame',
(_) => GameWidget(game: NoFlameGameExample()),
codeLink: baseLink('system/without_flamegame_example.dart'),
codeLink: baseLink('system/without_flame_game_example.dart'),
info: NoFlameGameExample.description,
)
..add(