eslint-config-angular-strict 0.1.0 → 0.1.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/README.md CHANGED
@@ -34,7 +34,7 @@ or
34
34
  yarn add eslint-config-angular-strict --dev
35
35
  ```
36
36
 
37
- ## Usage
37
+ ## Configure ESLint
38
38
 
39
39
  In `.eslintec.json`:
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Stricts rules to enforce a consistent code style for Angular development",
5
5
  "repository": {
6
6
  "type": "git",
package/template.js ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ extends: ['plugin:@angular-eslint/template/recommended']
3
+ };
@@ -8,7 +8,6 @@ module.exports = {
8
8
  'plugin:@angular-eslint/recommended',
9
9
  'plugin:@angular-eslint/template/process-inline-templates',
10
10
  ],
11
- files: ['*.ts'],
12
11
  rules: {
13
12
  '@angular-eslint/component-class-suffix': ['error', { suffixes: ['Component', 'Modal', 'Page'] }],
14
13
  '@angular-eslint/component-selector': ['error', { type: 'element', prefix: 'app', style: 'kebab-case' }],
package/index.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- extends: ['./rules/templates', './rules/typescript'].map(require.resolve),
3
- };
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- extends: ['plugin:@angular-eslint/template/recommended'],
3
- files: ['*.html'],
4
- };