Skip to content

Commit

Permalink
chore(backend): configure editorconfig, configure eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
João Paulo committed Apr 27, 2020
1 parent 03c4d66 commit 0030191
Show file tree
Hide file tree
Showing 5 changed files with 1,501 additions and 5 deletions.
9 changes: 9 additions & 0 deletions backend/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
end_of_line = lf
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
23 changes: 23 additions & 0 deletions backend/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
env: {
es6: true,
node: true,
},
extends: [
'airbnb-base',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
],
rules: {
},
};
Loading

0 comments on commit 0030191

Please sign in to comment.