mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
2082001ff8
* Initial tests set up This adds tests using uvu (we can switch if people want) and restructures things a bit so that it's easier to test. Like in snowpack you set up a little project. In our tests you can say: ```js const result = await runtime.load('/blog/hello-world') ``` And analyze the result. I included a `test-helpers.js` which has a function that will turn HTML into a cheerio instance, for inspecting the result HTML. * Bring snowpack example in * Formatting
15 lines
366 B
JavaScript
15 lines
366 B
JavaScript
module.exports = {
|
|
extends: [
|
|
'stylelint-config-standard',
|
|
'stylelint-config-rational-order',
|
|
'stylelint-config-prettier',
|
|
],
|
|
rules: {
|
|
'at-rule-no-unknown': [
|
|
true,
|
|
{ ignoreAtRules: ['use', 'each', 'for', 'mixin', 'extend', 'include'] },
|
|
], // allow Sass syntax,
|
|
'no-descending-specificity': null,
|
|
},
|
|
syntax: 'scss',
|
|
};
|