Skip to content

Commit 6d43bb3

Browse files
committed
Allow tailwind.config files for devDependencies imports check
1 parent e65c569 commit 6d43bb3

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

Diff for: CHANGELOG.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66

77
## Unreleased
88

9+
## [1.1.0](https://github.com/torchbox/eslint-config-torchbox/compare/v1.0.0...v1.1.0) (2022-07-01)
10+
11+
### Features
12+
13+
- Allow `tailwind.config` files for devDependencies imports check.
14+
15+
### Upgrading to v1.1.0
16+
17+
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.
18+
19+
Then, if your project disabled `import/no-extraneous-dependencies` for Tailwind configuration files, this can now be removed.
20+
921
## [1.0.0](https://github.com/torchbox/eslint-config-torchbox/compare/v0.6.0...v1.0.0) (2022-05-30)
1022

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

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

207219
### Bug fixes
208220

209-
- Whitelist `setupTests` files for devDependencies imports check.
221+
- Allow `setupTests` files for devDependencies imports check.
210222

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

Diff for: config.js

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ module.exports = {
5151
'**/setupTests.*',
5252
'**/webpack.config.*',
5353
'**/rollup.config.*',
54+
'**/tailwind.config.*',
5455
'**/gulpfile.*',
5556
],
5657
optionalDependencies: false,

Diff for: src/rules.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ describe('semver for rules - should those tests break, consider releasing a new
503503
"**/setupTests.*",
504504
"**/webpack.config.*",
505505
"**/rollup.config.*",
506+
"**/tailwind.config.*",
506507
"**/gulpfile.*",
507508
],
508509
"optionalDependencies": false,

Diff for: src/typescript.rules.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ describe('semver for TypeScript rules - should those tests break, consider relea
622622
"**/setupTests.*",
623623
"**/webpack.config.*",
624624
"**/rollup.config.*",
625+
"**/tailwind.config.*",
625626
"**/gulpfile.*",
626627
],
627628
"optionalDependencies": false,

0 commit comments

Comments
 (0)