mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-23 19:19:03 +08:00
46 lines
933 B
JavaScript
46 lines
933 B
JavaScript
module.exports = {
|
|
plugins: ['html', 'cypress'],
|
|
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
sourceType: 'module',
|
|
},
|
|
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
'cypress/globals': true,
|
|
},
|
|
|
|
globals: {
|
|
document: false,
|
|
window: false,
|
|
},
|
|
|
|
extends: [
|
|
'plugin:vue/strongly-recommended',
|
|
'airbnb-base',
|
|
],
|
|
|
|
rules: {
|
|
semi: ['error', 'never'],
|
|
'import/extensions': 'off',
|
|
'import/no-extraneous-dependencies': 'off',
|
|
'import/no-unresolved': 'off',
|
|
'import/no-dynamic-require': 'off',
|
|
'arrow-parens': ['error', 'as-needed'],
|
|
'padded-blocks': 'off',
|
|
'class-methods-use-this': 'off',
|
|
'global-require': 'off',
|
|
'func-names': ['error', 'never'],
|
|
'vue/this-in-template': ['error', 'never'],
|
|
'vue/max-attributes-per-line': ['error', {
|
|
singleline: 3,
|
|
multiline: {
|
|
max: 1,
|
|
allowFirstLine: false,
|
|
},
|
|
}],
|
|
},
|
|
}
|