mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-21 21:16:59 +02:00
misc: update stylelint rule tester
This commit is contained in:
parent
b4f4057d97
commit
c50df3003c
4 changed files with 72 additions and 85 deletions
15
.eslintrc.js
15
.eslintrc.js
|
@ -21,7 +21,7 @@ module.exports = {
|
|||
allowImportExportEverywhere: true,
|
||||
},
|
||||
globals: {
|
||||
testRule: true,
|
||||
testStylelintRule: true,
|
||||
},
|
||||
extends: ['airbnb', 'prettier', 'prettier/react'],
|
||||
plugins: ['react-hooks', 'header'],
|
||||
|
@ -39,17 +39,10 @@ module.exports = {
|
|||
'block',
|
||||
[
|
||||
'*',
|
||||
{
|
||||
pattern: ' * Copyright \\(c\\) Facebook, Inc. and its affiliates.',
|
||||
},
|
||||
' * Copyright (c) Facebook, Inc. and its affiliates.',
|
||||
' *',
|
||||
{
|
||||
pattern:
|
||||
' * This source code is licensed under the MIT license found in the',
|
||||
},
|
||||
{
|
||||
pattern: ' * LICENSE file in the root directory of this source tree.',
|
||||
},
|
||||
' * This source code is licensed under the MIT license found in the',
|
||||
' * LICENSE file in the root directory of this source tree.',
|
||||
' ',
|
||||
],
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue