wasm-bindgen/.eslintrc.js
2018-06-15 12:55:37 -05:00

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'
}
};