mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 14:19:52 +08:00
25 lines
583 B
JavaScript
25 lines
583 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'browser': true,
|
|
'es2021': true
|
|
},
|
|
'extends': 'eslint:recommended',
|
|
'overrides': [],
|
|
'parserOptions': {
|
|
'ecmaVersion': 'latest',
|
|
'sourceType': 'module'
|
|
},
|
|
'rules': {
|
|
'indent': ['error', 2],
|
|
// 'linebreak-style': ['error', 'unix'],
|
|
'linebreak-style': ['error', 'windows'],
|
|
'quotes': ['error', 'single'],
|
|
'semi': ['error', 'never'],
|
|
'no-undef': ['off'],
|
|
'no-unused-vars': ['off'],
|
|
'no-useless-escape': ['off'],
|
|
'no-mixed-spaces-and-tabs': ['off'],
|
|
'no-inner-declarations': ['off']
|
|
}
|
|
}
|