Skip to content

Commit

Permalink
fix eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
yuheiy committed Dec 13, 2024
1 parent 8ca16ab commit fb0ff8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import js from '@eslint/js';
import astro from 'eslint-plugin-astro';
import tailwindcss from 'eslint-plugin-tailwindcss';
import ts from 'typescript-eslint';
import tailwindConfig from './tailwind.config';

/** @type {import('eslint').Linter.Config} */
export default [
Expand Down Expand Up @@ -29,5 +30,10 @@ export default [
// use prettier-plugin-tailwindcss for class sorting
'tailwindcss/classnames-order': 'off',
},
settings: {
tailwindcss: {
config: tailwindConfig,
},
},
},
];

0 comments on commit fb0ff8c

Please sign in to comment.