mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
chore: reduce severity on stylelint
temporary solution
This commit is contained in:
parent
c5c33be00f
commit
cbf42ee063
@ -3,7 +3,6 @@
|
||||
"extends": [
|
||||
"stylelint-config-recommended"
|
||||
],
|
||||
"syntax": "scss",
|
||||
"rules": {
|
||||
"at-rule-no-unknown": true,
|
||||
"block-no-empty": true,
|
||||
@ -24,7 +23,7 @@
|
||||
"keyframe-declaration-no-important": true,
|
||||
"property-no-vendor-prefix": true,
|
||||
"media-feature-name-no-unknown": true,
|
||||
"no-descending-specificity": true,
|
||||
"no-descending-specificity": [true, { "severity": "warning" }],
|
||||
"no-duplicate-at-import-rules": true,
|
||||
"no-duplicate-selectors": true,
|
||||
"no-empty-source": true,
|
||||
@ -33,7 +32,7 @@
|
||||
"property-no-unknown": true,
|
||||
"selector-pseudo-class-no-unknown": true,
|
||||
"selector-pseudo-element-no-unknown": true,
|
||||
"selector-type-no-unknown": true,
|
||||
"selector-type-no-unknown": [true, { "severity": "warning" }],
|
||||
"string-no-newline": true,
|
||||
"unit-no-unknown": true
|
||||
}
|
||||
|
@ -37,7 +37,6 @@ export const Inner = styled.div`
|
||||
|
||||
export const Left = styled.div`
|
||||
&& {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: none;
|
||||
${mq.medium(css`
|
||||
@ -61,7 +60,7 @@ export const ToolTip = styled.span`
|
||||
|
||||
export const Earth = styled(Icon)`
|
||||
&& {
|
||||
padding 0 10px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
@ -105,4 +104,4 @@ export const Flag = styled(Icon)`
|
||||
}
|
||||
`;
|
||||
|
||||
export const Logo = styled(Flag)``;
|
||||
export const Logo = Flag;
|
||||
|
@ -70,7 +70,6 @@ export const SearchWrapper = styled.div`
|
||||
display: none;
|
||||
max-width: 393px;
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
`;
|
||||
|
||||
|
@ -164,7 +164,7 @@ export const Footer = styled.div`
|
||||
export const Wrapper = styled(Link)`
|
||||
&& {
|
||||
font-size: 12px;
|
||||
background-color: #fff;
|
||||
background-color: white;
|
||||
margin: 0 0 15px 0;
|
||||
transition: box-shadow 0.15s;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
|
||||
|
@ -19,10 +19,12 @@ export const Wrapper = styled.div`
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
`}
|
||||
`};
|
||||
}
|
||||
`;
|
||||
|
||||
export const Circular = styled(CircularProgress)`
|
||||
&& {
|
||||
color: ${colors.primary}
|
||||
color: ${colors.primary};
|
||||
}
|
||||
`;
|
||||
|
@ -16,10 +16,9 @@ module.exports = {
|
||||
|
||||
plugins: [
|
||||
new StyleLintPlugin({
|
||||
files: ['src/**/*.scss'],
|
||||
files: ['src/webui/**/styles.js'],
|
||||
failOnError: false,
|
||||
emitErrors: true,
|
||||
syntax: 'scss',
|
||||
emitErrors: true
|
||||
}),
|
||||
],
|
||||
|
||||
|
@ -46,10 +46,9 @@ export default {
|
||||
new webpack.NoEmitOnErrorsPlugin(),
|
||||
new FriendlyErrorsPlugin(),
|
||||
new StyleLintPlugin({
|
||||
files: ['src/**/*.scss'],
|
||||
files: ['src/webui/**/styles.js'],
|
||||
failOnError: false,
|
||||
emitErrors: false,
|
||||
syntax: 'scss',
|
||||
emitErrors: false
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user