toolz/.eslintrc.js

22 lines
353 B
JavaScript
Raw Normal View History

2023-01-29 18:38:29 +08:00
module.exports = {
2023-02-25 02:50:48 +08:00
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
}
}