mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 16:37:07 +02:00
30 lines
810 B
JavaScript
30 lines
810 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
module.exports = {
|
|
extends: ['stylelint-config-recommended', 'stylelint-config-prettier'],
|
|
plugins: ['stylelint-copyright'],
|
|
rules: {
|
|
'docusaurus/copyright-header': [
|
|
true,
|
|
{
|
|
header: `*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.`,
|
|
},
|
|
],
|
|
'selector-pseudo-class-no-unknown': [
|
|
true,
|
|
{
|
|
// :global is a CSS modules feature to escape from class name hashing
|
|
ignorePseudoClasses: ['global'],
|
|
},
|
|
],
|
|
},
|
|
};
|