jest-preset-stylelint
Advanced tools
Comparing version 6.3.1 to 6.3.2
'use strict'; | ||
const getTestRule = require('./getTestRule'); | ||
const getTestRule = require('./getTestRule.js'); | ||
const getTestRuleConfigs = require('./getTestRuleConfigs.js'); | ||
module.exports = { getTestRule }; | ||
module.exports = { getTestRule, getTestRuleConfigs }; |
{ | ||
"name": "jest-preset-stylelint", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"description": "Jest preset for Stylelint plugins.", | ||
@@ -65,7 +65,7 @@ "keywords": [ | ||
"@stylelint/prettier-config": "^3.0.0", | ||
"@stylelint/remark-preset": "^4.0.0", | ||
"@types/jest": "^29.5.5", | ||
"eslint": "^8.50.0", | ||
"@stylelint/remark-preset": "^5.0.0", | ||
"@types/jest": "^29.5.6", | ||
"eslint": "^8.52.0", | ||
"eslint-config-stylelint": "^20.0.0", | ||
"eslint-plugin-jest": "^27.4.2", | ||
"eslint-plugin-jest": "^27.6.0", | ||
"husky": "^8.0.3", | ||
@@ -78,3 +78,3 @@ "jest": "^29.7.0", | ||
"remark-cli": "^12.0.0", | ||
"stylelint": "^15.10.3", | ||
"stylelint": "^15.11.0", | ||
"typescript": "^5.2.2" | ||
@@ -81,0 +81,0 @@ }, |
@@ -31,3 +31,3 @@ # jest-preset-stylelint | ||
```js | ||
const { getTestRule } = require("jest-preset-stylelint"); | ||
const { getTestRule, getTestRuleConfigs } = require("jest-preset-stylelint"); | ||
@@ -123,3 +123,3 @@ global.testRule = getTestRule({ plugins: ["./"] }); | ||
```js | ||
testInvalidRuleConfigs({ | ||
testRuleConfigs({ | ||
plugins: ["."], | ||
@@ -126,0 +126,0 @@ ruleName, |
18833
419