Skip to content

Commit d4f0ca0

Browse files
authored
Merge pull request #871 from ember-learn/852-fix-lint-errors-from-alex-part-4
Fixed lint errors from alex (Part 4)
2 parents 1e7c954 + b04f04b commit d4f0ca0

20 files changed

+30
-20
lines changed

.alexrc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
{
22
"allow": [
33
"he-she",
4-
"her-him",
5-
"special",
6-
"steward-stewardess",
7-
"sucks",
8-
"trap",
9-
"waiters-waitresses",
10-
"white",
11-
"whites",
12-
"whitespace"
4+
"her-him"
135
],
146
"profanitySureness": 1
157
}

content/accessibility-working-group-update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ There were five items listed in [Issue 595](https://github.com/emberjs/rfcs/issu
2828

2929
### Application Language Support
3030

31-
<!-- alex ignore easy -->
32-
31+
<!-- alex ignore easy white -->
3332
The goal of application language support was to provide a mechanism for new Ember apps to pass [WCAG Success Criteria 3.1.1 - Language of Page](https://www.w3.org/TR/WCAG21/#language-of-page). To meet that goal, [Joseph Sumner](https://github.com/josephdsumner), [Jamie White](https://github.com/jgwhite), [Ava Wroten](https://github.com/hergaiety) and [Melanie Sumner](https://github.com/melsumner) authored [RFC 635](https://emberjs.github.io/rfcs/0635-ember-new-lang.html), which proposed a `--lang` flag for `ember-cli`. This flag would enable developers to declare the application's language while they were creating the app, allowing them to more easily meet this particular success criteria. This RFC was merged on June 12th; the feature itself, authored by [Joseph Sumner](https://github.com/josephdsumner) with help from [Rob Jackson](https://github.com/rwjblue), was merged on August 24th.
3433

3534
To add another layer of support and enhance the overall developer experience, the team also decided that it would be useful to have an interactive way to create new Ember apps. After some discussion, [Melanie Sumner](https://github.com/melsumner) authored [RFC 638](https://emberjs.github.io/rfcs/0638-interactive-app-creation.html). The RFC was accepted and merged on August 10th. Implementation is still pending.
@@ -82,4 +81,5 @@ Work is also underway to upscale the addons in the [Ember-A11y GitHub org](https
8281

8382
## Thank You
8483

84+
<!-- alex ignore white -->
8585
A huge thank you to all of the community members who participated in the Ember A11y Strike Team: [Abhilash Ramesh](https://github.com/abhilashlr), [Amy Lam](https://github.com/amyrlam), [Ava Wroten](https://github.com/hergaiety), [Benjamin Jegard](https://github.com/kamikillerto), [Emmanuel Patrick](https://github.com/the-bionic), [Eric Kelly](https://github.com/HeroicEric), [Frédéric Soumaré](https://github.com/hakilebara), [Jamie White](https://github.com/jgwhite), [Jen Weber](https://github.com/jenweber), [John Costanzo](https://github.com/jrock2004), [Joseph Sumner](https://github.com/josephdsumner), [Lennex Zinyando](https://github.com/zinyando), [Lenora Porter](https://github.com/lenoraporter), [Melanie Sumner](https://github.com/melsumner), [Praskovia Root](https://github.com/praskovia-root), [Rajasegar Chandran](https://github.com/rajasegar), [Robert Jackson](https://github.com/rwjblue), [Steve Szczecina](https://github.com/steveszc), and [Seema Shariat](https://github.com/seemajune).

content/countdown-to-the-new-year-ember-angle-brackets-codemod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Before Angle Bracket invocation, nearly every template construct in Ember was in
2525
1. It visits a URL of your app that is supplied as a command line argument
2626
2. A small bit of code is injected into the context of the app.
2727
3. The code identifies the app's components and their properties, as well as all the helpers. This includes those in addons!
28-
4. Given all this information, the codemod quickly changes all the apps templates preserving most of the whitespace and indentation.
28+
4. Given all this information, the codemod quickly changes all the apps templates preserving most of the space and indentation.
2929

3030
Here is an example of typical conversion:
3131

content/countdown-to-the-new-year-ember-bootstrap-and-ember-paper.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The `ember-bootstrap` addon's clean API's and native Ember components also provi
3535

3636
Writing forms or modals with these components is a very enjoyable experience and has streamlined the code in several of my projects.
3737

38+
<!-- alex ignore trap -->
3839
Also, recent versions of `ember-bootstrap` have added additional support for improving accessibility by using ember-focus-trap to implement focus trap for modals and keyboard navigation of dropdowns. `ember-bootstrap` has even added ember a11y tests to the addon's test suite!
3940

4041
It gets better, too- `ember-bootstrap` is Octane ready and has refactored it's own components internally to use native classes and angle bracket syntax.

content/ember-1-0-rc6.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ For more on new router features, see:
3939
* [Usage Examples](https://gist.github.com/machty/5647589)
4040
* [Client-side Authentication Part 2 Embercast](http://www.embercasts.com/episodes/client-side-authentication-part-2)
4141

42+
<!-- alex ignore special -->
4243
Special thanks to Alex Matchneer for his work on this!
4344

4445
***Ember Components***

content/ember-1-2-0-and-ember-1-3-0-beta-released.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ release. You can see a list of all the changes in the CHANGELOG:
7171
* [Ember.js 1.2.0 CHANGELOG](https://github.com/emberjs/ember.js/blob/v1.2.0/CHANGELOG)
7272
* [Ember.js 1.3.0 beta 1 CHANGELOG](https://github.com/emberjs/ember.js/blob/v1.3.0-beta.1/CHANGELOG.md)
7373

74-
A very big thank you to everyone who contributed, and a
75-
special thank you to our release team that have collectively poured
76-
hours of their free time into automating the infrastructure around the
77-
release process.
74+
<!-- alex ignore special -->
75+
A very big thank you to everyone who contributed, and a special thank you to our release team that have collectively poured hours of their free time into automating the infrastructure around the release process.
7876

7977
As usual, you can always find the latest stable, beta, and canary
8078
releases at [emberjs.com/builds](/builds).

content/ember-1-8-1-released.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Further Reading:
5151

5252
### Support rendering of null-prototype objects
5353

54+
<!-- alex ignore special -->
5455
meta-data objects in Ember-Data are null-prototype, a special kind of object created
5556
with `Object.create(null)`. In 1.8 these objects could not be rendered. 1.8.1 repairs
5657
this.
@@ -78,11 +79,13 @@ We've restored support for templates like this:
7879
</select>
7980
```
8081

82+
<!-- alex disable whitespace -->
8183
### Known whitespace issues in Chrome
8284

8385
Some templates may result in missing whitespace in Chrome. For example,
8486
if the following template renders initially with no names, then updates
8587
via data-binding later, the space between names may not be visible.
88+
<!-- alex enable whitespace -->
8689

8790
```handlebars
8891
{{firstName}} {{lastName}}

content/ember-accessibility-and-a11y-tools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ The problem is that screen readers rely heavily on what has focus. Imagine if yo
162162

163163
It's our responsibility as developers to build inclusive tech, so keep learning and building! [Melanie Sumner's](https://github.com/MelSumner) EmberConf talk [Accessibility for All](https://www.youtube.com/watch?v=6ydNf7e5P00) is a fast, concise introduction to accessibility in Ember, and [this article series](http://www.melsumner.com/blog/accessibility/a11y-accessibility-guide-ember-developers/) provides a deeper dive.
164164

165+
<!-- alex ignore white -->
165166
There are already many community addons available that solve different issues. While we still have a ways to go, new advances are being made too. For example, there is a [Semantic Test Selectors RFC](https://github.com/emberjs/rfcs/pull/327) being drafted and an [experimental addon](https://github.com/tradegecko/ember-semantic-test-helpers) in development to go with it! These efforts followed [Jamie White's](https://github.com/jgwhite) talk from EmberConf, [Say More](https://www.youtube.com/watch?v=iAyRVPSOpy8).
166167

167168
Almost all of us will have a disability at some point in our lives. Accessible web practices lead to better user experience --- things like improved keyboard navigation, text that is still readable on a dim monitor, and clear pointers on how to interact with a UI.
@@ -183,4 +184,5 @@ Accessible apps are better for everyone.
183184

184185
Our community's improvements are the result of the hard work of many people! Shared solutions take more time to develop, but we can all move forward together.
185186

187+
<!-- alex ignore white -->
186188
Many thanks to everyone who raises the profile of accessibility in Ember, the team behind a11y addons, contributors involved in getting some features into Ember itself, and those who encourage others to adopt accessible practices. Extra thanks to [Sean Massa](https://github.com/EndangeredMassa), [Melanie Sumner](https://github.com/MelSumner), [Jamie White](https://github.com/jgwhite), and [Robert DeLuca](https://github.com/Robdel12) for reviewing this post.

content/ember-data-1-0-beta-12-released.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ This change fixed some bugs around observers. Thanks to [Christoffer
123123
Persson][wecc] for helping to clean this up and fix some observer bugs around
124124
this!
125125

126+
<!-- alex ignore special -->
126127
## Special Thanks
127128

128129
Thanks to [Christoffer Persson][wecc] for helping us implement bugfixes and API

content/ember-data-1-0-beta-14-released.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ export default DS.RESTSerializer.extend({
108108
});
109109
```
110110

111+
<!-- alex ignore special -->
111112
## Special Thanks
112113

114+
<!-- alex ignore special -->
113115
A special thanks to [Dockyard][dockyard] for sponsoring Igor during the
114116
month of December!
115117

0 commit comments

Comments
 (0)