mirror of
https://github.com/ProtonMail/WebClients.git
synced 2026-01-11 20:06:40 +00:00
chore: add --no-warn-ignored to the global esling config
This commit is contained in:
parent
8ebdbe5dec
commit
6c1d90d16e
1 changed files with 4 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue