fix(styles): remove useless import fonts file +edit config stylelint

This commit is contained in:
Walid 2022-03-16 18:55:39 +01:00
parent f2f8f9cf76
commit 6a754b4e4a
3 changed files with 11 additions and 15 deletions

11
.stylelintrc Normal file
View File

@ -0,0 +1,11 @@
{
"plugins": [
"stylelint-scss"
],
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-prettier-scss"
], "rules": {
"property-no-vendor-prefix": null
}
}

View File

@ -1,14 +0,0 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-prettier-scss"
],
"rules": {
"color-no-invalid-hex": true,
"property-no-vendor-prefix": null,
"comment-no-empty": null,
"comment-empty-line-before": "never",
"no-descending-specificity": null,
"custom-property-pattern": ["", {}]
}
}

View File

@ -1,7 +1,6 @@
import type { AppProps } from "next/app"; import type { AppProps } from "next/app";
import "../styles/main.scss"; import "../styles/main.scss";
import "../styles/fonts.scss";
const MyApp = ({ Component, pageProps }: AppProps) => { const MyApp = ({ Component, pageProps }: AppProps) => {
return <Component {...pageProps} />; return <Component {...pageProps} />;