Skip to content

Commit

Permalink
Moved '**/*.min.js' from outer-level ignores to JS config `ignore…
Browse files Browse the repository at this point in the history
…s` for readability
  • Loading branch information
adamlui authored Nov 12, 2024
1 parent 9ca9e0f commit 86fe296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import markdown from '@eslint/markdown'
import eslintPluginYml from 'eslint-plugin-yml'

export default [
{ ignores: ['**/*.min.js', '**/sandbox/*'] },
{ ignores: ['**/sandbox/*'] },
{
files: ['**/*.js', '**/*.mjs'], ...js.configs.recommended,
files: ['**/*.js', '**/*.mjs'], ignores: ['**/*.min.js'], ...js.configs.recommended,
rules: {
'indent': 'off', 'no-unexpected-multiline': 'off', 'key-spacing': 'off', // allow whitespace anywhere
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }], // enforce single quotes except backticks to avoid escaping quotes
Expand Down

0 comments on commit 86fe296

Please sign in to comment.