eslint-config-final 1.4.21 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -6,6 +6,7 @@ const noImplicitAnyFunctionArgs = require('eslint-plugin-no-implicit-any-functio
6
6
  const angularPlugin = require('angular-eslint');
7
7
  const rxjs = require('eslint-plugin-rxjs-updated');
8
8
  const rxjsAngular = require('eslint-plugin-rxjs-angular-updated');
9
+ const tailwindcss = require('eslint-plugin-tailwindcss');
9
10
 
10
11
  const javascript = {
11
12
  extends: [
@@ -116,9 +117,16 @@ const angularTemplate = {
116
117
  ],
117
118
  };
118
119
 
120
+ const tailwind = {
121
+ extends: [
122
+ ...tailwindcss.configs['flat/recommended'],
123
+ ],
124
+ };
125
+
119
126
  module.exports = {
120
127
  javascript: tseslint.config(javascript),
121
128
  typescript: tseslint.config(typescript),
122
129
  angularTypescript: tseslint.config(angularTypescript),
123
130
  angularTemplate: tseslint.config(angularTemplate),
131
+ tailwind: tseslint.config(tailwind),
124
132
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-final",
3
- "version": "1.4.21",
3
+ "version": "1.5.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",
@@ -20,6 +20,7 @@
20
20
  "eslint-plugin-no-implicit-any-function-args": "^1.4.20",
21
21
  "eslint-plugin-rxjs-angular-updated": "^1.0.26",
22
22
  "eslint-plugin-rxjs-updated": "^1.0.26",
23
+ "eslint-plugin-tailwindcss": "^3.18.0",
23
24
  "typescript-eslint": "^8.19.1"
24
25
  },
25
26
  "devDependencies": {