@apdesign/code-style-react 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +1 -1
- package/package.json +1 -1
package/cli.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
|
3
3
|
const main = require('./index');
|
4
|
-
const eslint = require('./scripts/runEslint');
|
5
4
|
|
6
5
|
const args = process.argv.slice(2);
|
7
6
|
const command = args[0];
|
@@ -9,6 +8,7 @@ const command = args[0];
|
|
9
8
|
if (command === 'init') {
|
10
9
|
main();
|
11
10
|
} else if (command === 'eslint') {
|
11
|
+
const eslint = require('./scripts/runEslint');
|
12
12
|
eslint();
|
13
13
|
} else {
|
14
14
|
console.log(`Unknown command: "${command}"`);
|