Skip to content

Commit

Permalink
Allow tailwind.config files for devDependencies imports check
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Jul 1, 2022
1 parent e65c569 commit 6d43bb3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

## [1.1.0](https://github.com/torchbox/eslint-config-torchbox/compare/v1.0.0...v1.1.0) (2022-07-01)

### Features

- Allow `tailwind.config` files for devDependencies imports check.

### Upgrading to v1.1.0

Follow the [v0.6.0 recommended steps](https://github.com/torchbox/eslint-config-torchbox/blob/main/CHANGELOG.md#upgrading-to-v060), with `1.1.0` as the version number.

Then, if your project disabled `import/no-extraneous-dependencies` for Tailwind configuration files, this can now be removed.

## [1.0.0](https://github.com/torchbox/eslint-config-torchbox/compare/v0.6.0...v1.0.0) (2022-05-30)

> This release is functionally identical to v0.6.0.
Expand All @@ -27,7 +39,7 @@ Here are recommended steps:

```bash
# 1. Install the new versions.
npm install --save-dev eslint@7 eslint-config-torchbox@^0.6.0
npm install --save-dev eslint@8 eslint-config-torchbox@^0.6.0
# 2. Attempt to auto-fix any new issue picked up by ESLint.
npm run lint:js -- --fix
npm run format
Expand Down Expand Up @@ -206,7 +218,7 @@ Finally, if your project uses separate dependencies definitions for [pre-commit]

### Bug fixes

- Whitelist `setupTests` files for devDependencies imports check.
- Allow `setupTests` files for devDependencies imports check.

## [0.3.1](https://github.com/torchbox/eslint-config-torchbox/compare/v0.3.0...v0.3.1) (2019-10-09)

Expand Down
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = {
'**/setupTests.*',
'**/webpack.config.*',
'**/rollup.config.*',
'**/tailwind.config.*',
'**/gulpfile.*',
],
optionalDependencies: false,
Expand Down
1 change: 1 addition & 0 deletions src/rules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ describe('semver for rules - should those tests break, consider releasing a new
"**/setupTests.*",
"**/webpack.config.*",
"**/rollup.config.*",
"**/tailwind.config.*",
"**/gulpfile.*",
],
"optionalDependencies": false,
Expand Down
1 change: 1 addition & 0 deletions src/typescript.rules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ describe('semver for TypeScript rules - should those tests break, consider relea
"**/setupTests.*",
"**/webpack.config.*",
"**/rollup.config.*",
"**/tailwind.config.*",
"**/gulpfile.*",
],
"optionalDependencies": false,
Expand Down

0 comments on commit 6d43bb3

Please sign in to comment.