UNPKG

@procore/core-scripts

Version:

A CLI to enhance your development experience

42 lines (27 loc) 1.09 kB
# `core-scripts lint` linting commands - [`core-scripts lint:eslint [INPUT]`](#core-scripts-linteslint-input) - [`core-scripts lint:stylelint [FILES]`](#core-scripts-lintstylelint-files) ## `core-scripts lint:eslint [INPUT]` Runs the ESLint linter. ``` USAGE $ core-scripts lint:eslint [INPUT] ARGUMENTS INPUT Comma-delimited list of file and/or folder paths that the linter will run against. OPTIONS --fix Automatically fix problems. --fixTypes=layout|problem|suggestion The types of lint errors/warnings to fix. ``` _See code: [dist/commands/lint/eslint.js](https://github.com/procore/frontend-tooling/blob/v11.3.1/dist/commands/lint/eslint.js)_ ## `core-scripts lint:stylelint [FILES]` Runs the stylelint linter. ``` USAGE $ core-scripts lint:stylelint [FILES] ARGUMENTS FILES Path to the file or folder that the linter will run against. OPTIONS --fix Automatically fix problems. ``` _See code: [dist/commands/lint/stylelint.js](https://github.com/procore/frontend-tooling/blob/v11.3.1/dist/commands/lint/stylelint.js)_