Fix JSCS errors

This commit is contained in:
Rowan Manning
2016-04-25 21:26:59 +01:00
parent 90328cfa39
commit ea48d6a6fd
31 changed files with 366 additions and 364 deletions

2
app.js
View File

@@ -58,7 +58,7 @@ function initApp (config, callback) {
contentHelperName: 'content', contentHelperName: 'content',
layoutsDir: __dirname + '/view/layout', layoutsDir: __dirname + '/view/layout',
partialsDir: __dirname + '/view/partial', partialsDir: __dirname + '/view/partial',
defaultLayout: __dirname + '/view/layout/default', defaultLayout: __dirname + '/view/layout/default'
})); }));
app.express.set('view engine', 'html'); app.express.set('view engine', 'html');

View File

@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>. // along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>.
/* jshint maxlen: false */ // jscs:disable maximumLineLength
'use strict'; 'use strict';
module.exports = getStandards; module.exports = getStandards;
@@ -656,10 +656,12 @@ function getStandards () {
{ {
name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H30.2', name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H30.2',
description: 'Img element is the only content of the link, but is missing alt text. The alt text should describe the purpose of the link.' description: 'Img element is the only content of the link, but is missing alt text. The alt text should describe the purpose of the link.'
}, { },
{
name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H37', name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H37',
description: 'Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.' description: 'Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.'
}, { },
{
name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H67.1', name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H67.1',
description: 'Img element with empty alt text must have absent or empty title attribute.' description: 'Img element with empty alt text must have absent or empty title attribute.'
}, },