2018-07-04 08:35:26 -07:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
es6: true,
|
|
|
|
browser: true,
|
|
|
|
commonjs: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
extends: 'eslint:recommended',
|
2018-07-04 22:37:09 -05:00
|
|
|
parser: 'babel-eslint',
|
2018-07-04 08:35:26 -07:00
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'module'
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
indent: ['error', 4],
|
2018-06-15 12:55:37 -05:00
|
|
|
'linebreak-style': [
|
2018-07-04 08:35:26 -07:00
|
|
|
'error',
|
2018-06-15 12:55:37 -05:00
|
|
|
'unix'
|
2018-07-04 08:35:26 -07:00
|
|
|
],
|
2018-06-15 12:55:37 -05:00
|
|
|
quotes: [
|
2018-07-04 08:35:26 -07:00
|
|
|
'error',
|
2018-06-15 12:55:37 -05:00
|
|
|
'single'
|
2018-07-04 08:35:26 -07:00
|
|
|
],
|
2018-06-15 12:55:37 -05:00
|
|
|
semi: [
|
2018-07-04 08:35:26 -07:00
|
|
|
'error',
|
2018-06-15 12:55:37 -05:00
|
|
|
'always'
|
2018-07-04 08:35:26 -07:00
|
|
|
],
|
|
|
|
'no-console': 0,
|
2018-07-04 08:35:39 -07:00
|
|
|
'no-undef': 'warn'
|
2018-07-04 08:36:56 -07:00
|
|
|
},
|
|
|
|
globals: {
|
|
|
|
BigInt64Array: true,
|
|
|
|
BigUint64Array: true
|
2018-07-04 08:35:26 -07:00
|
|
|
}
|
2018-06-15 12:55:37 -05:00
|
|
|
};
|