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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/index.js +3 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -36,13 +36,14 @@ module.exports = tseslint.config(
36
36
 
37
37
  extends: [
38
38
  ...config.typescript,
39
+ ...config.angularTypescript,
39
40
  ],
40
41
  },
41
42
  {
42
43
  files: ['**/*.html'],
43
44
 
44
45
  extends: [
45
- ...config.angular,
46
+ ...config.angularTemplate,
46
47
  ],
47
48
  },
48
49
  );
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 angularHtml = {
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
- angular: tseslint.config(angularTypescript, angularHtml),
106
+ angularTypescript: tseslint.config(angularTypescript),
107
+ angularTemplate: tseslint.config(angularTemplate),
109
108
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-final",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",