Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed May 12, 2019
1 parent 4c02657 commit 8d4353f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"extends": ["eslint-config-babel", "eslint-config-prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error", { "trailingComma": "all" }]
"prettier/prettier": "error"
}
}
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"arrowParens": "avoid",
"trailingComma": "all",
"useTabs": false,
"semi": true,
"singleQuote": false,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"tabWidth": 2,
"printWidth": 80
}
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ if (/^6\./.test(babel.version)) {
);
}

const {version} = require("../package.json");
const { version } = require("../package.json");
const cache = require("./cache");
const transform = require("./transform");
const injectCaller = require("./injectCaller");

const {isAbsolute} = require("path");
const { isAbsolute } = require("path");
const loaderUtils = require("loader-utils");

function subscribe(subscriber, metadata, context) {
Expand Down

0 comments on commit 8d4353f

Please sign in to comment.