Skip to content

Commit

Permalink
Add ESLint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 25, 2025
1 parent 12e0f69 commit 7371ceb
Show file tree
Hide file tree
Showing 3 changed files with 1,073 additions and 0 deletions.
8 changes: 8 additions & 0 deletions book/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pluginJs from '@eslint/js';

/** @type {import('eslint').Linter.Config[]} */
export default [
{ ignores: ['build/*'] },
{ files: ['**/*.js'], languageOptions: { sourceType: 'commonjs' } },
pluginJs.configs.recommended,
];
Loading

0 comments on commit 7371ceb

Please sign in to comment.