mirror of
https://github.com/gavvvr/obsidian-timecodes-plugin.git
synced 2026-07-22 05:38:08 +00:00
chore(eslint): enable 'no-console' rule for plugin's source code
This commit is contained in:
parent
dcfd5717f7
commit
0095b3262e
1 changed files with 7 additions and 0 deletions
|
|
@ -21,6 +21,13 @@ export default tseslint.config(
|
|||
braceStyle: '1tbs',
|
||||
quoteProps: 'as-needed',
|
||||
}),
|
||||
{
|
||||
// Apply `no-console` only to files inside `specific-directory/`
|
||||
files: ['src/**/*'],
|
||||
rules: {
|
||||
'no-console': ['error', { allow: ['warn', 'error'] }],
|
||||
},
|
||||
},
|
||||
{
|
||||
rules: {
|
||||
'@stylistic/curly-newline': ['error', { consistent: true }],
|
||||
|
|
|
|||
Loading…
Reference in a new issue