Merge branch 'vs-move-stylelint-commands-in-package-json' into 'master'
Prefix stylelint commands in package.json with lint See merge request gitlab-org/gitlab!54582
Showing
... | ... | @@ -5,10 +5,10 @@ |
"block-dependencies": "node scripts/frontend/block_dependencies.js", | ||
"clean": "rm -rf public/assets tmp/cache/*-loader", | ||
"dev-server": "NODE_OPTIONS=\"--max-old-space-size=3584\" node scripts/frontend/webpack_dev_server.js", | ||
"eslint-fix": "echo 'Please use lint:eslint:fix instead' && exit 1", | ||
"eslint-staged": "echo 'Please use lint:eslint:staged instead' && exit 1", | ||
"eslint-staged-fix": "echo 'Please use lint:eslint:staged:fix instead' && exit 1", | ||
"eslint-report": "echo 'Please use lint:eslint:report instead' && exit 1", | ||
"eslint-fix": "echo 'Please use `yarn lint:eslint:fix` instead' && exit 1", | ||
"eslint-staged": "echo 'Please use `yarn lint:eslint:staged` instead' && exit 1", | ||
"eslint-staged-fix": "echo 'Please use `yarn lint:eslint:staged:fix` instead' && exit 1", | ||
"eslint-report": "echo 'Please use `yarn lint:eslint:report` instead' && exit 1", | ||
"file-coverage": "scripts/frontend/file_test_coverage.js", | ||
"lint-docs": "scripts/lint-doc.sh", | ||
"internal:eslint": "eslint --cache --max-warnings 0 --report-unused-disable-directives --ext .js,.vue", | ||
... | ... | @@ -30,14 +30,16 @@ |
"lint:prettier:fix": "yarn run prettier --write '**/*.{graphql,js,vue}'", | ||
"lint:prettier:staged": "scripts/frontend/execute-on-staged-files.sh prettier '(graphql|js|vue)' --check", | ||
"lint:prettier:staged:fix": "scripts/frontend/execute-on-staged-files.sh prettier '(graphql|js|vue)' --write", | ||
"lint:stylelint": "stylelint --cache -q '{ee/,}app/assets/stylesheets/**/*.{css,scss}'", | ||
"lint:stylelint:fix": "yarn run lint:stylelint --fix", | ||
"lint:stylelint:staged": "scripts/frontend/execute-on-staged-files.sh stylelint '(css|scss)' -q", | ||
"lint:stylelint:staged:fix": "yarn run lint:stylelint:staged --fix", | ||
"markdownlint": "markdownlint --config .markdownlint.json", | ||
"postinstall": "node ./scripts/frontend/postinstall.js", | ||
"prettier-all": "echo 'Please use lint:prettier instead' && exit 1", | ||
"prettier-all-save": "echo 'Please use lint:prettier:fix instead' && exit 1", | ||
"prettier-staged": "echo 'Please use lint:prettier:staged instead' && exit 1", | ||
"prettier-staged-save": "echo 'Please use lint:prettier:staged:fixed instead' && exit 1", | ||
"stylelint": "yarn stylelint-file 'app/assets/stylesheets/**/*.*' 'ee/app/assets/stylesheets/**/*.*' '!app/assets/stylesheets/startup/startup-*.scss' '!**/vendors/**'", | ||
"stylelint-file": "BROWSERSLIST_IGNORE_OLD_DATA=true node node_modules/stylelint/bin/stylelint.js", | ||
"prettier-all": "echo 'Please use `yarn lint:prettier` instead' && exit 1", | ||
"prettier-all-save": "echo 'Please use `yarn lint:prettier:fix` instead' && exit 1", | ||
"prettier-staged": "echo 'Please use `yarn lint:prettier:staged` instead' && exit 1", | ||
"prettier-staged-save": "echo 'Please use `yarn lint:prettier:staged:fix` instead' && exit 1", | ||
"stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js", | ||
"webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js", | ||
"webpack-vendor": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.vendor.config.js", | ||
... | ... |
Please register or sign in to comment