mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-25 15:07:17 +02:00
chore: add baseline stylelint rules (#6372)
* chore: add baseline stylelint rules Use the Prettier config so not to conflict with rules. Add the Stylelint baseline recommended rules to catch additional lissues * enable those two rules * ooops * refactor scripts * revert script changes Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
2a1cdc3b8a
commit
284c6166e7
15 changed files with 70 additions and 43 deletions
|
@ -12,7 +12,7 @@ const postCssRemoveOverriddenCustomProperties = require('../index');
|
|||
|
||||
const processFixture = (name) => {
|
||||
const input = vfile.readSync(
|
||||
path.join(__dirname, 'fixtures', `${name}.css`),
|
||||
path.join(__dirname, '__fixtures__', `${name}.css`),
|
||||
'utf8',
|
||||
);
|
||||
const output = postcss([postCssRemoveOverriddenCustomProperties]).process(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue