1. 修复(kinit-admin):页面缓存问题修复 2. 更新(kinit-api,kinit-admin):菜单管理新增是否缓存字段 3. 更新(kinit-admin):将缓存默认存储在localStorage中 4. 更新(kinit-api):将python-jose库更换为pyjwt库 5. 优化(kinit-admin,kinit-uni):退出登录方法优化 6. 优化(kinit-admin,kinit-uni):response拦截优化 7. 新增(kinit-api,kinit-admin,kinit-uni):jwt到期时间缩短,加入刷新token功能 8. (kinit-uni)切换到 vscode 开发 uniapp 项目
38 lines
861 B
Python
38 lines
861 B
Python
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
node: true
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:vue/recommended',
|
|
'prettier',
|
|
'plugin:prettier/recommended'
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module'
|
|
},
|
|
globals: {
|
|
uni: true,
|
|
wx: true,
|
|
ROUTES: true
|
|
},
|
|
plugins: ['vue', 'prettier'],
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off',
|
|
'prettier/prettier': 'error',
|
|
'vue/html-indent': ['error', 2],
|
|
'vue/max-attributes-per-line': 'off',
|
|
'no-console': 'off',
|
|
'no-unused-vars': ['warn', { args: 'none' }],
|
|
'arrow-parens': ['error', 'always'],
|
|
'comma-dangle': ['error', 'never'],
|
|
quotes: ['error', 'single'],
|
|
semi: ['error', 'never'],
|
|
'object-curly-spacing': ['error', 'always'],
|
|
indent: ['error', 2, { SwitchCase: 1 }]
|
|
}
|
|
}
|