stylelint-a11y
Advanced tools
Comparing version 1.1.11 to 1.2.0
@@ -31,3 +31,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -37,3 +37,3 @@ code: '.bar::before { content: 23; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -40,0 +40,0 @@ code: ".foo:before, .bar { content: ''; }" |
@@ -29,3 +29,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -35,3 +35,3 @@ code: '.foo { font-size: 3pt; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -41,4 +41,4 @@ code: '.bar { FONT-SIZE: 8PX; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -33,3 +33,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -39,3 +39,3 @@ code: '.foo { line-height: 50px; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -45,3 +45,3 @@ code: '.foo { line-height: 1.2; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -51,3 +51,3 @@ code: '.foo { line-height: 12px; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -57,3 +57,3 @@ code: '.foo { LINE-HEIGHT: 23PX; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -63,9 +63,9 @@ code: 'p { font-size: 23px; line-height: 23px; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
code: 'a { font-size: 24px; line-height: 1; }', | ||
code: 'a { font-size: 23px; line-height: 1; }', | ||
message: _index.messages.expected('a'), | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -25,3 +25,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -31,3 +31,3 @@ code: 'a { color: red; } @media screen and (prefers-color-scheme: dark) { a { background-color: red; } }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -37,3 +37,3 @@ code: '.foo { background-color: red;}', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -43,3 +43,3 @@ code: '.bar { color: red; } .baz { background-color: red; } @media screen and (prefers-color-scheme: dark) { .baz { color: blue; } }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -49,4 +49,4 @@ code: '.foo { background-color: red; } @media screen and (prefers-color-scheme) { .foo { color: red; } }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -31,3 +31,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -38,3 +38,3 @@ code: 'a { animation-name: skew; } @media screen and (prefers-reduced-motion) { a { transition: none; } }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -45,4 +45,4 @@ code: '.foo { animation: 1s ease-in; } @media screen and (prefers-reduced-motion) { .foo { animation: 1s ease-in; } }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -21,4 +21,4 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -21,3 +21,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -27,3 +27,3 @@ code: 'a, img[datasrc] { color: pink; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -33,4 +33,4 @@ code: 'img[align], a[name] { color: pink; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -21,3 +21,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -27,3 +27,3 @@ code: 'applet, a { color: pink; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -33,4 +33,4 @@ code: 'applet, blink { color: pink; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -29,3 +29,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -35,3 +35,3 @@ code: '.bar:focus { outline: none; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -41,3 +41,3 @@ code: '.baz:focus { outline: none; border: transparent; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -47,4 +47,4 @@ code: '.quux { .quuux:focus { outline: 0; } }', | ||
line: 1, | ||
column: 12 | ||
column: 11 | ||
}] | ||
}); |
@@ -31,3 +31,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -37,4 +37,4 @@ code: '.bar { LINE-HEIGHT: 1.8; MAX-WIDTH: 81CH; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
@@ -31,3 +31,3 @@ 'use strict'; | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}, { | ||
@@ -37,4 +37,4 @@ code: '.foo { TEXT-ALIGN: JUSTIFY; }', | ||
line: 1, | ||
column: 4 | ||
column: 3 | ||
}] | ||
}); |
{ | ||
"name": "stylelint-a11y", | ||
"version": "1.1.11", | ||
"version": "1.2.0", | ||
"description": "Plugin for stylelint with a11y rules", | ||
@@ -15,3 +15,3 @@ "main": "dist/index.js", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=8.7.0" | ||
}, | ||
@@ -41,3 +41,3 @@ "scripts": { | ||
"peerDependencies": { | ||
"stylelint": "^8.0.0 || ^9.0.0" | ||
"stylelint": "^8.0.0 || ^9.0.0 || ^10.0.0" | ||
}, | ||
@@ -57,2 +57,3 @@ "devDependencies": { | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"extend": ">=3.0.2", | ||
"jest": "^23.6.0", | ||
@@ -63,5 +64,5 @@ "jest-cli": "^23.6.0", | ||
"rimraf": "^2.6.2", | ||
"stylelint": "^9.7.1", | ||
"stylelint": "^10.0.1", | ||
"stylelint-test-rule-tape": "^0.2.0" | ||
} | ||
} |
@@ -16,3 +16,3 @@ # stylelint-a11y | ||
Please refer to [stylelint docs](http://stylelint.io/user-guide/) for the detailed info on using this linter. | ||
Please refer to [stylelint docs](https://stylelint.io/user-guide/) for the detailed info on using this linter. | ||
@@ -77,2 +77,2 @@ ## Rules | ||
There is also [stackoverflow](http://stackoverflow.com/questions/tagged/stylelint), which would be the preferred QA forum. | ||
There is also [stackoverflow](https://stackoverflow.com/questions/tagged/stylelint), which would be the preferred QA forum. |
@@ -33,3 +33,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -40,3 +40,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -43,0 +43,0 @@ { |
@@ -30,3 +30,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -37,3 +37,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -44,5 +44,5 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -1,2 +0,2 @@ | ||
# font-size-large-enough | ||
# font-size-is-readable | ||
@@ -3,0 +3,0 @@ Disallow font sizes less than 15px (or 11.25pt). |
@@ -36,3 +36,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -43,3 +43,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -50,3 +50,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -57,3 +57,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -64,3 +64,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -71,11 +71,11 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
{ | ||
code: 'a { font-size: 24px; line-height: 1; }', | ||
code: 'a { font-size: 23px; line-height: 1; }', | ||
message: messages.expected('a'), | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -26,3 +26,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -34,3 +34,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -41,3 +41,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -49,3 +49,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -57,5 +57,5 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -36,3 +36,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -46,3 +46,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -56,5 +56,5 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -18,5 +18,5 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -18,3 +18,3 @@ import rule, { ruleName, messages } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -25,3 +25,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -32,5 +32,5 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -18,3 +18,3 @@ import rule, { ruleName, messages } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -25,3 +25,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -32,5 +32,5 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -30,3 +30,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -37,3 +37,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -44,3 +44,3 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -51,5 +51,5 @@ { | ||
line: 1, | ||
column: 12, | ||
column: 11, | ||
}, | ||
], | ||
}); |
@@ -33,3 +33,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -40,5 +40,5 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
@@ -33,3 +33,3 @@ import rule, { messages, ruleName } from '../index'; | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
@@ -40,5 +40,5 @@ { | ||
line: 1, | ||
column: 4, | ||
column: 3, | ||
}, | ||
], | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112038
20
78