Skip to content

Commit

Permalink
Merge pull request #5 from versx/eslint
Browse files Browse the repository at this point in the history
Add Eslint
  • Loading branch information
versx authored Apr 20, 2020
2 parents fc0442b + f0a5bb8 commit 032274c
Show file tree
Hide file tree
Showing 10 changed files with 1,230 additions and 113 deletions.
33 changes: 33 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
'env': {
'commonjs': true,
'es6': true,
'node': true
},
'extends': 'eslint:recommended',
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parserOptions': {
'ecmaVersion': 2018
},
'rules': {
'indent': [
'error',
4
],
'linebreak-style': [
'error',
'windows'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
};
Loading

0 comments on commit 032274c

Please sign in to comment.