Skip to content

Commit

Permalink
added Airbnb ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
xiniria committed Nov 18, 2020
1 parent 563ee05 commit e0f6ee1
Show file tree
Hide file tree
Showing 3 changed files with 532 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
module.exports = {
parserOptions: {
ecmaVersion: 11,
sourceType: "module",
sourceType: 'module',
},
env: {
node: true,
},
root: true,
plugins: [
'eslint-plugin-import',
],
extends: [
'eslint:recommended',
'eslint-config-airbnb-base',
],
rules: {
semi: 'error',
Expand Down
Loading

0 comments on commit e0f6ee1

Please sign in to comment.