Skip to content

Commit

Permalink
chore(eslint): airbnb-base
Browse files Browse the repository at this point in the history
Eslinting with modified Airbnb Base
  • Loading branch information
brunocalderon committed Oct 22, 2019
1 parent 3f2adb4 commit 020f34a
Show file tree
Hide file tree
Showing 3 changed files with 544 additions and 28 deletions.
43 changes: 18 additions & 25 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true
},
extends: [
"prettier"
],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly"
},
parserOptions: {
ecmaVersion: 2018
},
plugins: [
"prettier"
],
rules: {
"prettier/prettier": ["error", {
trailingComma: "none",
semi: true,
singleQuote: true,
}]
}
env: {
es6: true,
node: true
},
extends: [
'airbnb-base'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
rules: {
'comma-dangle': ['error', 'never']
}
};
Loading

0 comments on commit 020f34a

Please sign in to comment.