add lint, split scss files

This commit is contained in:
Tykayn 2023-05-24 16:57:30 +02:00 committed by tykayn
parent c4735c8971
commit 9d8a8c9b2f
16 changed files with 2632 additions and 4 deletions

6
.idea/scssLintPlugin.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ScssLintProjectComponent">
<option name="pluginEnabled" value="true" />
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -19,6 +19,8 @@
"typescript": "^5.0.2",
"vite": "^4.3.0",
"vite-aliases": "^0.11.1",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-stylelint": "^4.3.0",
"vue-tsc": "^1.2.0"
}
}

View File

@ -18,5 +18,14 @@ custom
@import "./4-content.css";
@import "./5-popover.css";
@import "./6-portfolio.css";
@import "10-webdesign.scss";
@import "11-carry.scss";
@import "12-kyc.scss";
@import "13-china.scss";
@import "14-we-develop.scss";
@import "15-full-creative.scss";
@import "16-our_team.scss";
@import "17-china-achievements.scss";
@import "18-baozun-group.scss";
@import "./100-coming_soon.css";
@import "./7-responsive.css";

View File

@ -10,7 +10,7 @@
<main class="has-text-centered">
<!-- sprint 4 content-->
<section id="cover" class="has-text-centerd">
<section id="transactionnal_webdesign" class="has-text-centerd">
<h2>Transactional</h2>
<p>

View File

@ -29,7 +29,7 @@
"src/components/*"
],
"~styles/*": [
"src/assets/styles/*"
"./src/assets/styles/*"
],
"~/*": [
"src/*"

View File

@ -2,12 +2,18 @@ import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import scss from 'rollup-plugin-scss'
import eslint from 'vite-plugin-eslint'
import stylelint from 'vite-plugin-stylelint';
import {ViteAliases} from 'vite-aliases'
// https://vitejs.dev/config/
/** @type {import('vite').UserConfig} */
export default defineConfig({
plugins: [vue(), scss(), ViteAliases()],
plugins: [vue(), scss(), ViteAliases(),stylelint({
fix:true,
}),eslint()],
})