lib/cli/scripts/generate-sb-packages-versions.js
Function run
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const run = async () => {
const updatedVersion = process.argv[process.argv.length - 1];
if (!semver.valid(updatedVersion)) throw new Error(`Invalid version: ${updatedVersion}`);
Parsing error: The keyword 'const' is reserved Open
Open
const { readJson, writeFile } = require('fs-extra');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/