- Fixed: circular structure in exceptions.
- Added:
codeFilename
option toaccept
/reject
cases intestRule
function.
- Fixed: missing
funding
field inpackage.json
.
- Removed: support for Node.js less than
18.12.0
. - Changed:
loadLint
option's default value.
- Fixed: missing
getTestRuleConfigs
export.
- Fixed:
loadLint
option's type declaration.
- Added:
loadLint
option.
- Added:
testRuleConfigs
function.
- Fixed: tightly-coupled dependency on Stylelint's internal module
lib/utils/getOsEol
.
- Added: support for custom unfixable error messages.
- Fixed: false negatives for
invalidOptionWarnings
.
- Removed: support for Jest less than
29.0.2
from peer dependencies. - Removed: support for Node.js less than
14.15.0
.
- Fixed: readability of failure output using the Jest
.toMatchObject()
API.
- Fixed: peer dependency range for Jest 28.
- Fixed: error in TypeScript definitions.
- Fixed: incorrect
TestSchema.config
property type.
- Removed:
skipBasicChecks
schema property. - Added:
endLine
andendColumn
schema properties. - Added: TypeScript definitions.
- Added:
codeFilename
schema property.
- Fixed: peer dependency range for jest 27
- Added:
only
andskip
to test group. - Fixed: peer dependencies and engine range.
- Removed:
syntax
schema property. - Added:
customSyntax
schema property.
- Changed:
getTestRule
signature to only accept options as argument. - Added: support for Jest 26.0.1+.
- Removed: support for stylelint versions less than 13.
- Removed: support for node@8.
- Removed: settings not related to plugin testing.
- Changed:
testRule
signature to only acceptschema
as argument. - Added:
warnings
toreject
schema property. - Added:
plugins
schema property. - Added:
only
schema property. - Added:
skip
schema property. - Fixed:
TypeError: stylelint is not a function
.
- Use stylelint exported modules.
- Include
getOsEol.js
in a.package.json
distribution files.
- Use absolute path to
jest-setup.js
injest-preset.json
. - Avoid Jest preset conflicts by not using the Jest preset for this repo.
- Include
jest-setup.js
in a .package.jsondistribution
files`.
- Initial release.
jest-setup.js
copied from stylelint upstream commit.