codemod
Here are 118 public repositories matching this topic...
-
Updated
Mar 18, 2020 - JavaScript
-
Updated
Jul 1, 2020 - JavaScript
- ignore test file patterns, we can read those from jest.config.js
- ignore
it()description - ignore
describe()description
-
Updated
May 4, 2017 - JavaScript
-
Updated
May 24, 2020 - JavaScript
-
Updated
Mar 30, 2020 - JavaScript
-
Updated
Jul 9, 2020 - JavaScript
-
Updated
Dec 26, 2018 - JavaScript
-
Updated
Jun 25, 2020 - JavaScript
If the class is
export default class Table extends Component {}The error says:
You defined the class @ember/component that extends from @ember/component using native class syntax
Which makes debugging extremely difficult
It should say:
You defined the class Table that extends from @ember/component using native class syntax
-
Updated
Jul 9, 2020 - JavaScript
-
Updated
Oct 5, 2017 - TypeScript
-
Updated
Jun 19, 2020 - TypeScript
The docs now say to use environment variable, but the plugin still warns here:
Serverless: serverless-plugin-iopipe: You did not specify iopipeToken in your custom section of serverless.yml. iopipe will fall back to $IOPIPE_TOKEN in the lambda environment
about not setting up in the serverless.yml. This can be confusing to users.
-
Updated
Apr 5, 2020 - TypeScript
-
Updated
May 4, 2018 - JavaScript
-
Updated
Apr 3, 2020
-
Updated
Jul 8, 2020 - JavaScript
Currently, we have support for transforming static Methods on prototype from
Controller.staticMethod = function(param) {
var bar = "webpack-cli";
};to
static staticMethod(param) {
var bar = "webpack-cli";
}But, we don't have support for transforming literals like this:
Controller.name = "Dhruvdutt";We need to transform it into:
staImprove this page
Add a description, image, and links to the codemod topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the codemod topic, visit your repo's landing page and select "manage topics."
The
andmethod is not supported by Jest, where Chai does support it.It should probably cut the assertion in two:
Is this a feasible option for codemods?
If so: I'm willing to work on a PR.