chore: add --no-warn-ignored to the global esling config

This commit is contained in:
Paolo Chiabrera 2025-10-20 10:40:56 +02:00 committed by MargeBot
parent 8ebdbe5dec
commit 6c1d90d16e

View file

@ -2,7 +2,10 @@
* @type {import('lint-staged').Configuration}
*/
export default {
'(*.ts|*.tsx|*.js)': ['eslint --fix --max-warnings=0 --flag v10_config_lookup_from_file', 'prettier --write'],
'(*.ts|*.tsx|*.js)': [
'eslint --fix --max-warnings=0 --no-warn-ignored --flag v10_config_lookup_from_file',
'prettier --write',
],
'(*.scss|.css)': ['prettier --write', 'stylelint --fix'],
'(*.json|*.md|*.mdx|*.html|*.mjs|*.yml|*.svg)': 'prettier --write',
'package.json': 'sort-package-json',