Showing 6 of 11 total issues
Function Password
has 226 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Password = function ($object, options) {
var defaults = {
enterPass: 'Type your password',
shortPass: 'The password is too short',
containsField: 'The password contains your username',
Function init
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init() {
var shown = true;
var $text = options.showText;
var $percentage = options.showPercent;
var $graybar = $('<div>').addClass('pass-graybar');
Function calculateScore
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function calculateScore(password, field) {
var score = 0;
// password < options.minimumLength
if (password.length < options.minimumLength) {
Rule doesn't have all its properties in alphabetical order. Open
Open
.pass-colorbar {
- Exclude checks
Parsing error: The keyword 'const' is reserved Open
Open
const gulp = require('gulp'),
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Rule doesn't have all its properties in alphabetical order. Open
Open
.pass-graybar {
- Exclude checks