Skip to content

Commit

Permalink
fix: ensure eslint does not ignore .vuepress directories
Browse files Browse the repository at this point in the history
  • Loading branch information
pbredenberg committed Aug 22, 2022
1 parent a54c705 commit e1d7a18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ module.exports = {

'extends': 'eslint:recommended',

// ESLint by default ignore directories with dot prefixes. Some of our projects use
// Vuepress which maintains its source code in a `.vuepress` directory. This negated
// ignore pattern enables linting for any projects using our config.
'ignorePatterns': [ '!.vuepress' ],

'plugins': [
'@silvermine/eslint-plugin-silvermine', // Our custom rules
'@typescript-eslint', // TypeScript-specific rules
Expand Down

0 comments on commit e1d7a18

Please sign in to comment.