diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-01-31 11:03:03 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-01 20:56:18 +0100 |
commit | d1a4856b5dbc2d9fc19d203c640a3c01a64a1fe8 (patch) | |
tree | 078b7fd8dadcee4972855fcdace8d7dc55913e1e /apps/files_sharing/.eslintrc.js | |
parent | e404ce7096b9e4666f91cdca2e837d8ecd802357 (diff) | |
download | nextcloud-server-d1a4856b5dbc2d9fc19d203c640a3c01a64a1fe8.tar.gz nextcloud-server-d1a4856b5dbc2d9fc19d203c640a3c01a64a1fe8.zip |
Add eslint settings and reorganize files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Add files_sharing package-lock
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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'] + } +}; |