mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-26 19:45:54 +03:00
32 lines
604 B
JavaScript
32 lines
604 B
JavaScript
module.exports = {
|
|
env: {
|
|
es6: true,
|
|
browser: true,
|
|
commonjs: true,
|
|
node: true
|
|
},
|
|
extends: 'eslint:recommended',
|
|
parserOptions: {
|
|
sourceType: 'module'
|
|
},
|
|
rules: {
|
|
indent: ['error', 4],
|
|
'linebreak-style': [
|
|
'error',
|
|
'unix'
|
|
],
|
|
quotes: [
|
|
'error',
|
|
'single'
|
|
],
|
|
semi: [
|
|
'error',
|
|
'always'
|
|
],
|
|
'no-console': 0,
|
|
'no-undef':
|
|
'warn',
|
|
'no-unused-vars': 'warn'
|
|
}
|
|
};
|