Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

26
web/js/.eslintrc.js Normal file
View File

@@ -0,0 +1,26 @@
// http://eslint.org/docs/user-guide/configuring
module.exports = {
env: {
browser: true,
},
globals: {
google: true,
document: true,
navigator: false,
window: true,
},
root: true,
extends: 'airbnb',
plugins: [
'html',
],
rules: {
'indent': ['error', 4, {'SwitchCase': 1}],
'no-use-before-define': 0,
'function-paren-newline': ['off', 'never'],
'object-curly-spacing': ['error', 'never'],
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'no-console': process.env.NODE_ENV === 'production' ? 2 : 0,
}
};