@chris.araneo/eslint-config 0.0.125 → 0.0.127

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  <p align="center">
4
4
  <img src="https://avatars.githubusercontent.com/u/6019716" alt="Official @eslint GitHub user avatar" width="256px" height="256px"/>
5
5
  <br>
6
- <a href="https://github.com/ChrisAraneo/eslint-config/blob/master/package.json"><img src="https://img.shields.io/badge/version-v0.0.125-blue" alt="version"></a>
6
+ <a href="https://github.com/ChrisAraneo/eslint-config/blob/master/package.json"><img src="https://img.shields.io/badge/version-v0.0.127-blue" alt="version"></a>
7
7
  <a href="https://github.com/ChrisAraneo/eslint-config/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="@chris.araneo/eslint-config is released under the MIT license."></a>
8
8
  <a href="https://github.com/ChrisAraneo/eslint-config/actions/workflows/ci.yml"><img alt="GitHub CI Status" src="https://img.shields.io/github/actions/workflow/status/ChrisAraneo/eslint-config/ci.yml?label=CI&logo=GitHub"></a>
9
9
  <br>
@@ -8,9 +8,47 @@ export const getAngularTemplatesConfigs = ({ templates, } = {}) => match(templat
8
8
  files: templates,
9
9
  rules: {
10
10
  ...config.rules,
11
+ '@angular-eslint/template/alt-text': 'error',
12
+ '@angular-eslint/template/attributes-order': 'error',
13
+ '@angular-eslint/template/banana-in-box': 'error',
14
+ '@angular-eslint/template/button-has-type': 'error',
15
+ '@angular-eslint/template/click-events-have-key-events': 'error',
16
+ '@angular-eslint/template/conditional-complexity': 'error',
17
+ '@angular-eslint/template/cyclomatic-complexity': [
18
+ 'error',
19
+ { maxComplexity: 6 },
20
+ ],
21
+ '@angular-eslint/template/elements-content': 'error',
22
+ '@angular-eslint/template/eqeqeq': 'error',
11
23
  '@angular-eslint/template/i18n': 'off',
24
+ '@angular-eslint/template/interactive-supports-focus': 'error',
25
+ '@angular-eslint/template/label-has-associated-control': 'error',
26
+ '@angular-eslint/template/mouse-events-have-key-events': 'error',
27
+ '@angular-eslint/template/no-any': 'error',
28
+ '@angular-eslint/template/no-autofocus': 'error',
12
29
  '@angular-eslint/template/no-call-expression': 'off',
13
- '@angular-eslint/template/prefer-control-flow': 'off',
30
+ '@angular-eslint/template/no-distracting-elements': 'error',
31
+ '@angular-eslint/template/no-duplicate-attributes': 'error',
32
+ '@angular-eslint/template/no-empty-control-flow': 'error',
33
+ '@angular-eslint/template/no-inline-styles': 'error',
34
+ '@angular-eslint/template/no-interpolation-in-attributes': 'error',
35
+ '@angular-eslint/template/no-negated-async': 'error',
36
+ '@angular-eslint/template/no-nested-tags': 'error',
37
+ '@angular-eslint/template/no-positive-tabindex': 'error',
38
+ '@angular-eslint/template/prefer-at-else': 'error',
39
+ '@angular-eslint/template/prefer-at-empty': 'error',
40
+ '@angular-eslint/template/prefer-built-in-pipes': 'error',
41
+ '@angular-eslint/template/prefer-class-binding': 'error',
42
+ '@angular-eslint/template/prefer-contextual-for-variables': 'error',
43
+ '@angular-eslint/template/prefer-control-flow': 'error',
44
+ '@angular-eslint/template/prefer-ngsrc': 'error',
45
+ '@angular-eslint/template/prefer-self-closing-tags': 'error',
46
+ '@angular-eslint/template/prefer-static-string-properties': 'error',
47
+ '@angular-eslint/template/prefer-template-literal': 'error',
48
+ '@angular-eslint/template/role-has-required-aria': 'error',
49
+ '@angular-eslint/template/table-scope': 'error',
50
+ '@angular-eslint/template/use-track-by-function': 'error',
51
+ '@angular-eslint/template/valid-aria': 'error',
14
52
  },
15
53
  })),
16
54
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"angular-eslint-template.js","sourceRoot":"/","sources":["src/angular/angular-eslint-template.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAMnC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACzC,SAAS,MACA,EAAE,EAAmB,EAAE,CAChC,KAAK,CAAC,SAAS,EAAE,MAAM,IAAI,CAAC,CAAC;KAC1B,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;KACjB,SAAS,CAAC,GAAG,EAAE,CAAC;IACf,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAChC,CAAC,MAAM,EAAE,EAAE,CACT,CAAC;QACC,GAAG,MAAM;QACT,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE;YACL,GAAG,MAAM,CAAC,KAAK;YACf,+BAA+B,EAAE,KAAK;YACtC,6CAA6C,EAAE,KAAK;YACpD,8CAA8C,EAAE,KAAK;SACtD;KACF,CAAkB,CACtB;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"angular-eslint-template.js","sourceRoot":"/","sources":["src/angular/angular-eslint-template.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAMnC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACzC,SAAS,MACA,EAAE,EAAmB,EAAE,CAChC,KAAK,CAAC,SAAS,EAAE,MAAM,IAAI,CAAC,CAAC;KAC1B,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;KACjB,SAAS,CAAC,GAAG,EAAE,CAAC;IACf,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAChC,CAAC,MAAM,EAAE,EAAE,CACT,CAAC;QACC,GAAG,MAAM;QACT,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE;YACL,GAAG,MAAM,CAAC,KAAK;YACf,mCAAmC,EAAE,OAAO;YAC5C,2CAA2C,EAAE,OAAO;YACpD,wCAAwC,EAAE,OAAO;YACjD,0CAA0C,EAAE,OAAO;YACnD,uDAAuD,EAAE,OAAO;YAChE,iDAAiD,EAAE,OAAO;YAC1D,gDAAgD,EAAE;gBAChD,OAAO;gBACP,EAAE,aAAa,EAAE,CAAC,EAAE;aACrB;YACD,2CAA2C,EAAE,OAAO;YACpD,iCAAiC,EAAE,OAAO;YAC1C,+BAA+B,EAAE,KAAK;YACtC,qDAAqD,EAAE,OAAO;YAC9D,uDAAuD,EAAE,OAAO;YAChE,uDAAuD,EAAE,OAAO;YAChE,iCAAiC,EAAE,OAAO;YAC1C,uCAAuC,EAAE,OAAO;YAChD,6CAA6C,EAAE,KAAK;YACpD,kDAAkD,EAAE,OAAO;YAC3D,kDAAkD,EAAE,OAAO;YAC3D,gDAAgD,EAAE,OAAO;YACzD,2CAA2C,EAAE,OAAO;YACpD,yDAAyD,EACvD,OAAO;YACT,2CAA2C,EAAE,OAAO;YACpD,yCAAyC,EAAE,OAAO;YAClD,+CAA+C,EAAE,OAAO;YACxD,yCAAyC,EAAE,OAAO;YAClD,0CAA0C,EAAE,OAAO;YACnD,gDAAgD,EAAE,OAAO;YACzD,+CAA+C,EAAE,OAAO;YACxD,0DAA0D,EACxD,OAAO;YACT,8CAA8C,EAAE,OAAO;YACvD,uCAAuC,EAAE,OAAO;YAChD,mDAAmD,EAAE,OAAO;YAC5D,0DAA0D,EACxD,OAAO;YACT,kDAAkD,EAAE,OAAO;YAC3D,iDAAiD,EAAE,OAAO;YAC1D,sCAAsC,EAAE,OAAO;YAC/C,gDAAgD,EAAE,OAAO;YACzD,qCAAqC,EAAE,OAAO;SAC/C;KACF,CAAkB,CACtB;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chris.araneo/eslint-config",
3
- "version": "0.0.125",
3
+ "version": "0.0.127",
4
4
  "description": "ESLint shareable configuration",
5
5
  "keywords": [
6
6
  "eslint",