mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
* chore: format css * update * update * chore: eslint-skip * update * update * chore: enforce the use of double quotes in `--at-apply` values * refactor: rename `--at-apply` into `--uno` * fix: fix dark theme userSpace search page css (#811) * fix userSpace search css * add new fix * add new fix * fix(adaptedStyles): adapt unadapted contents --------- Co-authored-by: hakadao <a578457889743@gmail.com> Co-authored-by: 夜晚的鸡鸣 <110297461+MidnightCrowing@users.noreply.github.com>
50 lines
959 B
JavaScript
50 lines
959 B
JavaScript
import antfu from '@antfu/eslint-config'
|
|
import simpleImportSort from 'eslint-plugin-simple-import-sort'
|
|
|
|
export default antfu(
|
|
{
|
|
formatters: {
|
|
css: 'prettier',
|
|
prettierOptions: {
|
|
printWidth: 120,
|
|
singleQuote: false,
|
|
},
|
|
},
|
|
rules: {
|
|
'vue/max-attributes-per-line': [
|
|
'error',
|
|
{
|
|
singleline: {
|
|
max: 5,
|
|
},
|
|
multiline: {
|
|
max: 5,
|
|
},
|
|
},
|
|
],
|
|
'no-alert': 'off',
|
|
'style/quote-props': 'off',
|
|
},
|
|
eslint: {
|
|
ignorePatterns: [
|
|
'dist',
|
|
'node_modules',
|
|
'public',
|
|
'extension',
|
|
'extension-firefox',
|
|
],
|
|
},
|
|
},
|
|
{
|
|
plugins: {
|
|
'simple-import-sort': simpleImportSort,
|
|
},
|
|
rules: {
|
|
'import/order': 'off',
|
|
'sort-imports': 'off',
|
|
'simple-import-sort/imports': 'error',
|
|
'simple-import-sort/exports': 'error',
|
|
},
|
|
},
|
|
)
|