You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
590 B
27 lines
590 B
module.exports = {
|
|
extends: 'airbnb-base',
|
|
plugins: [
|
|
'import'
|
|
],
|
|
rules: {
|
|
'max-len': ['error', 1000, 2, {
|
|
ignoreUrls: true,
|
|
ignoreComments: false,
|
|
ignoreRegExpLiterals: true,
|
|
ignoreStrings: true,
|
|
ignoreTemplateLiterals: true,
|
|
}],
|
|
'comma-dangle': ['error', {
|
|
arrays: 'always-multiline',
|
|
objects: 'always-multiline',
|
|
imports: 'always-multiline',
|
|
exports: 'always-multiline',
|
|
functions: 'never',
|
|
}],
|
|
'prefer-destructuring': ['off'],
|
|
},
|
|
globals: {
|
|
'window': true,
|
|
'document': true,
|
|
}
|
|
};
|
|
|