Skip to content

Commit

Permalink
refactor: fix PR suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Jul 19, 2020
1 parent 7498dbe commit 3e6a83f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion index.js

This file was deleted.

3 changes: 0 additions & 3 deletions noop/__tests__/__fixtures__/basic/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ function bar (foo, other) {
other.prop = "Don't change me";
}

/**
* This does not currently work
*/
$shouldNotMutate(["foo"]);
const pizza = foo => JSON.parse("{}");

Expand Down
4 changes: 0 additions & 4 deletions noop/__tests__/__fixtures__/basic/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ function bar(foo, other) {
foo.prop = "Test";
other.prop = "Don't change me";
}
/**
* This does not currently work
*/


const pizza = foo => JSON.parse("{}");

Expand Down
4 changes: 0 additions & 4 deletions noop/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ module.exports = () => {
return {
name: "willMutate",
visitor: {
/**
* We need to traverse the "Program" so we can know if we need to inject
* the Proxy handler or not.
*/
Program: {
enter (programPath) {
traverse(programPath.node, {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
],
"main": "plugin/index.js",
"files": [
"index.js",
"plugin/",
"utils/",
"noop",
Expand Down

0 comments on commit 3e6a83f

Please sign in to comment.