mirror of
https://github.com/d3ward/toolz.git
synced 2024-11-13 03:24:53 +08:00
21 lines
353 B
JavaScript
21 lines
353 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true
|
|
},
|
|
extends: ['eslint:recommended', 'prettier'],
|
|
plugins: ['prettier'],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly'
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2021,
|
|
sourceType: 'module'
|
|
},
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'no-unused-vars': 0,
|
|
'no-undef': 0
|
|
}
|
|
}
|