remove line-numbers from babel-code-frame
This commit is contained in:
parent
971ab0e88e
commit
09287643c7
@ -12,7 +12,6 @@
|
|||||||
"chalk": "^1.1.0",
|
"chalk": "^1.1.0",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"js-tokens": "^1.0.1",
|
"js-tokens": "^1.0.1",
|
||||||
"line-numbers": "^0.2.0",
|
|
||||||
"repeating": "^1.1.3"
|
"repeating": "^1.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,12 +1,16 @@
|
|||||||
/* eslint indent: 0 */
|
/* eslint indent: 0 */
|
||||||
/* eslint max-len: 0 */
|
/* eslint max-len: 0 */
|
||||||
|
|
||||||
import lineNumbers from "line-numbers";
|
//import lineNumbers from "line-numbers";
|
||||||
import repeating from "repeating";
|
import repeating from "repeating";
|
||||||
import jsTokens from "js-tokens";
|
import jsTokens from "js-tokens";
|
||||||
import esutils from "esutils";
|
import esutils from "esutils";
|
||||||
import chalk from "chalk";
|
import chalk from "chalk";
|
||||||
|
|
||||||
|
function lineNumbers(lines) {
|
||||||
|
return lines;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Chalk styles for token types.
|
* Chalk styles for token types.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user