diff options
Diffstat (limited to 'apps/files_sharing/.eslintrc.js')
-rw-r--r-- | apps/files_sharing/.eslintrc.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/files_sharing/.eslintrc.js b/apps/files_sharing/.eslintrc.js new file mode 100644 index 00000000000..214cccecd84 --- /dev/null +++ b/apps/files_sharing/.eslintrc.js @@ -0,0 +1,22 @@ +module.exports = { + env: { + browser: true, + es6: true + }, + globals: { + t: true, + n: true, + OC: true, + OCA: true + }, + extends: 'eslint:recommended', + parserOptions: { + sourceType: 'module' + }, + rules: { + indent: ['error', 'tab'], + 'linebreak-style': ['error', 'unix'], + quotes: ['error', 'single'], + semi: ['error', 'always'] + } +}; |