add lint, split scss files
This commit is contained in:
parent
c4735c8971
commit
9d8a8c9b2f
6
.idea/scssLintPlugin.xml
Normal file
6
.idea/scssLintPlugin.xml
Normal 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>
|
2607
sesame-vitejs/sesame/package-lock.json
generated
2607
sesame-vitejs/sesame/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -19,6 +19,8 @@
|
|||||||
"typescript": "^5.0.2",
|
"typescript": "^5.0.2",
|
||||||
"vite": "^4.3.0",
|
"vite": "^4.3.0",
|
||||||
"vite-aliases": "^0.11.1",
|
"vite-aliases": "^0.11.1",
|
||||||
|
"vite-plugin-eslint": "^1.8.1",
|
||||||
|
"vite-plugin-stylelint": "^4.3.0",
|
||||||
"vue-tsc": "^1.2.0"
|
"vue-tsc": "^1.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
0
sesame-vitejs/sesame/src/assets/styles/_12-kyc.scss
Normal file
0
sesame-vitejs/sesame/src/assets/styles/_12-kyc.scss
Normal file
@ -18,5 +18,14 @@ custom
|
|||||||
@import "./4-content.css";
|
@import "./4-content.css";
|
||||||
@import "./5-popover.css";
|
@import "./5-popover.css";
|
||||||
@import "./6-portfolio.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 "./100-coming_soon.css";
|
||||||
@import "./7-responsive.css";
|
@import "./7-responsive.css";
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<main class="has-text-centered">
|
<main class="has-text-centered">
|
||||||
|
|
||||||
<!-- sprint 4 content-->
|
<!-- sprint 4 content-->
|
||||||
<section id="cover" class="has-text-centerd">
|
<section id="transactionnal_webdesign" class="has-text-centerd">
|
||||||
|
|
||||||
<h2>Transactional</h2>
|
<h2>Transactional</h2>
|
||||||
<p>
|
<p>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
"src/components/*"
|
"src/components/*"
|
||||||
],
|
],
|
||||||
"~styles/*": [
|
"~styles/*": [
|
||||||
"src/assets/styles/*"
|
"./src/assets/styles/*"
|
||||||
],
|
],
|
||||||
"~/*": [
|
"~/*": [
|
||||||
"src/*"
|
"src/*"
|
||||||
|
@ -2,12 +2,18 @@ import {defineConfig} from 'vite'
|
|||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
import scss from 'rollup-plugin-scss'
|
import scss from 'rollup-plugin-scss'
|
||||||
|
|
||||||
|
import eslint from 'vite-plugin-eslint'
|
||||||
|
|
||||||
|
import stylelint from 'vite-plugin-stylelint';
|
||||||
|
|
||||||
import {ViteAliases} from 'vite-aliases'
|
import {ViteAliases} from 'vite-aliases'
|
||||||
|
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
/** @type {import('vite').UserConfig} */
|
/** @type {import('vite').UserConfig} */
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue(), scss(), ViteAliases()],
|
plugins: [vue(), scss(), ViteAliases(),stylelint({
|
||||||
|
fix:true,
|
||||||
|
}),eslint()],
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user