mirror of
https://github.com/klinecharts/KLineChart.git
synced 2024-11-25 16:22:43 +08:00
chore: ci update
This commit is contained in:
parent
c29071d9f7
commit
342bf64bc9
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,8 +3,8 @@
|
||||
/.vscode
|
||||
/website
|
||||
/dist
|
||||
/types
|
||||
/docs/.vitepress/cache
|
||||
|
||||
/package-lock.json
|
||||
/pnpm-lock.yaml
|
||||
.npmrc
|
||||
|
@ -1,4 +1,5 @@
|
||||
import config from 'eslint-config-love'
|
||||
import progress from 'eslint-plugin-file-progress'
|
||||
|
||||
export default [
|
||||
{
|
||||
@ -6,16 +7,18 @@ export default [
|
||||
files: ['src/**/*.js', 'src/**/*.ts'],
|
||||
},
|
||||
{
|
||||
plugins: {
|
||||
'file-progress': progress
|
||||
},
|
||||
ignores: [
|
||||
'eslint.config.js',
|
||||
'scripts/**/*',
|
||||
'dist/**/*',
|
||||
'docs/**/*',
|
||||
'index.js'
|
||||
]
|
||||
},
|
||||
{
|
||||
],
|
||||
rules: {
|
||||
"file-progress/activate": 1,
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/class-methods-use-this": "off",
|
||||
"@typescript-eslint/max-params": "off"
|
||||
|
@ -75,13 +75,13 @@
|
||||
"dts-bundle-generator": "^9.5.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-love": "^64.0.0",
|
||||
"eslint-plugin-file-progress": "^1.5.0",
|
||||
"fs-extra": "^11.2.0",
|
||||
"gh-pages": "^6.1.1",
|
||||
"husky": "^8.0.3",
|
||||
"resize-observer-polyfill": "^1.5.1",
|
||||
"rollup": "^4.21.3",
|
||||
"rollup-plugin-filesize": "^10.0.0",
|
||||
"rollup-plugin-progress": "^1.1.2",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.5.4",
|
||||
"vitepress": "^1.3.4"
|
||||
|
@ -5,7 +5,6 @@ import replace from '@rollup/plugin-replace'
|
||||
import typescript from '@rollup/plugin-typescript'
|
||||
import terser from '@rollup/plugin-terser'
|
||||
import fileSize from 'rollup-plugin-filesize'
|
||||
import progress from 'rollup-plugin-progress'
|
||||
import eslint from './eslint.js'
|
||||
|
||||
import { resolvePath, getVersion } from './utils.js'
|
||||
@ -35,7 +34,6 @@ function createInputConfig ({ input, replaceValues }) {
|
||||
throwOnError: true
|
||||
}),
|
||||
nodeResolve(),
|
||||
progress(),
|
||||
replace({
|
||||
preventAssignment: true,
|
||||
values: {
|
||||
|
Loading…
Reference in New Issue
Block a user