chushihua
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
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,
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user