eslint-config-final 1.4.21 → 1.5.1
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.
- package/index.js +8 -0
- package/package.json +7 -6
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.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf dist",
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@eslint/js": "^9.18.0",
|
|
17
17
|
"@stylistic/eslint-plugin": "^2.13.0",
|
|
18
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
18
|
+
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
|
19
19
|
"angular-eslint": "^19.0.2",
|
|
20
|
-
"eslint-plugin-no-implicit-any-function-args": "^1.4.
|
|
21
|
-
"eslint-plugin-rxjs-angular-updated": "^1.0.
|
|
22
|
-
"eslint-plugin-rxjs-updated": "^1.0.
|
|
23
|
-
"
|
|
20
|
+
"eslint-plugin-no-implicit-any-function-args": "^1.4.21",
|
|
21
|
+
"eslint-plugin-rxjs-angular-updated": "^1.0.27",
|
|
22
|
+
"eslint-plugin-rxjs-updated": "^1.0.27",
|
|
23
|
+
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
24
|
+
"typescript-eslint": "^8.20.0"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"copyfiles": "^2.4.1",
|