mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-04 19:59:02 +08:00
56 lines
927 B
JavaScript
56 lines
927 B
JavaScript
module.exports = {
|
|
plugins: ['html'],
|
|
|
|
parser: 'babel-eslint',
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
},
|
|
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
},
|
|
|
|
globals: {
|
|
document: false,
|
|
navigator: false,
|
|
window: false,
|
|
Echo: false,
|
|
collect: false,
|
|
cy: false,
|
|
it: false,
|
|
describe: false,
|
|
FileReader: false,
|
|
atob: false,
|
|
},
|
|
|
|
extends: [
|
|
'airbnb-base',
|
|
],
|
|
|
|
rules: {
|
|
// required semicolons
|
|
'semi': 'off',
|
|
|
|
// indent
|
|
'no-tabs': 'off',
|
|
'indent': 'off',
|
|
|
|
// disable some import stuff
|
|
'import/extensions': 'off',
|
|
'import/no-extraneous-dependencies': 'off',
|
|
'import/no-unresolved': 'off',
|
|
'import/no-dynamic-require': 'off',
|
|
|
|
// disable for '__svg__'
|
|
'no-underscore-dangle': 'off',
|
|
|
|
'arrow-parens': ['error', 'as-needed'],
|
|
|
|
'padded-blocks': 'off',
|
|
|
|
'class-methods-use-this': 'off',
|
|
|
|
'global-require': 'off',
|
|
}
|
|
} |