diff --git a/packages/linting/eslint/tailwind.js b/packages/linting/eslint/tailwind.js index bdd068f..cb0c2ef 100644 --- a/packages/linting/eslint/tailwind.js +++ b/packages/linting/eslint/tailwind.js @@ -3,7 +3,7 @@ const tailwindPlugin = require('eslint-plugin-tailwindcss'); const {recommended} = tailwindPlugin.configs; /** - * @type {import('eslint').Linter.FlatConfig} + * @type {import('eslint').Linter.Config} */ module.exports = { files: ['**/*.tsx', '**/*.jsx'], @@ -15,7 +15,7 @@ module.exports = { // https://github.com/francoismassart/eslint-plugin-tailwindcss#more-settings settings: { tailwindcss: { - callees: ['classNames', 'clsx', 'ctl', 'twMerge'], + callees: ['classNames', 'clsx', 'cn', 'ctl', 'twMerge'], } }, languageOptions: { diff --git a/packages/linting/package.json b/packages/linting/package.json index 3ce44ab..711902f 100644 --- a/packages/linting/package.json +++ b/packages/linting/package.json @@ -1,6 +1,6 @@ { "name": "@atmina/linting", - "version": "3.0.0", + "version": "3.0.1", "description": "A collection of opinionated in-house linting rules.", "main": "index.js", "scripts": {},