mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
8 lines
275 B
JavaScript
8 lines
275 B
JavaScript
export const report = () => `Use 'if condition' instead of 'ternary expression'`;
|
|
|
|
export const replace = () => ({
|
|
'const test = autoGlobals(require("supertape"))': `{
|
|
const {test: tape} = require('supertape');
|
|
const test = autoGlobals(tape);
|
|
}`,
|
|
});
|