eslint-config-final 1.2.0 → 1.2.2
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/README.md +2 -1
- package/index.js +3 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* eslint-disable no-undef */
|
|
2
2
|
const eslint = require('@eslint/js');
|
|
3
3
|
const tseslint = require('typescript-eslint');
|
|
4
|
-
const tsPlugin = require('@typescript-eslint/eslint-plugin');
|
|
5
4
|
const stylistic = require('@stylistic/eslint-plugin');
|
|
6
5
|
const noImplicitAnyFunctionArgs = require('eslint-plugin-no-implicit-any-function-args');
|
|
7
6
|
const angularPlugin = require('angular-eslint');
|
|
@@ -49,7 +48,6 @@ const typescript = {
|
|
|
49
48
|
|
|
50
49
|
plugins: {
|
|
51
50
|
'no-implicit-any-function-args': noImplicitAnyFunctionArgs,
|
|
52
|
-
'@typescript-eslint': tsPlugin,
|
|
53
51
|
},
|
|
54
52
|
|
|
55
53
|
rules: {
|
|
@@ -96,7 +94,7 @@ const angularTypescript = {
|
|
|
96
94
|
},
|
|
97
95
|
};
|
|
98
96
|
|
|
99
|
-
const
|
|
97
|
+
const angularTemplate = {
|
|
100
98
|
extends: [
|
|
101
99
|
...angularPlugin.configs.templateRecommended,
|
|
102
100
|
],
|
|
@@ -105,5 +103,6 @@ const angularHtml = {
|
|
|
105
103
|
module.exports = {
|
|
106
104
|
javascript: tseslint.config(javascript),
|
|
107
105
|
typescript: tseslint.config(typescript),
|
|
108
|
-
|
|
106
|
+
angularTypescript: tseslint.config(angularTypescript),
|
|
107
|
+
angularTemplate: tseslint.config(angularTemplate),
|
|
109
108
|
};
|