Skip to content

Commit

Permalink
chore(eslint): remove ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbin committed Oct 18, 2024
1 parent 3e473bb commit 997a993
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const angular = require('angular-eslint');
module.exports = tseslint.config(
{
files: ['**/*.ts'],
ignores: ['dist/**'],
extends: [
eslint.configs.recommended,
...tseslint.configs.recommended,
Expand All @@ -28,8 +27,8 @@ module.exports = tseslint.config(
'quote-props': ['warn', 'consistent-as-needed'],
'quotes': ['warn', 'single', { allowTemplateLiterals: true }],
'semi': ['warn', 'always'],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@angular-eslint/component-class-suffix': 'off',
Expand All @@ -40,7 +39,6 @@ module.exports = tseslint.config(
},
{
files: ['**/*.html'],
ignores: ['dist/**'],
extends: [...angular.configs.templateRecommended, ...angular.configs.templateAccessibility],
rules: {
'@angular-eslint/template/prefer-self-closing-tags': 'warn',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"serve:docs": "ng serve docs",
"build:docs": "ng build docs --base-href=/gui/",
"lint": "ng lint --fix && npm run lint:scss",
"lint:ts": "eslint \"**/*.ts\" --fix",
"lint:scss": "stylelint \"**/*.scss\" --fix",
"lint:ts": "eslint \"projects/**/*.ts\" --fix",
"lint:scss": "stylelint \"projects/**/*.scss\" --fix",
"build:lib": "ng build gui && cp README.md dist/gui",
"publish": "npm run build:lib && cd dist/gui && npm publish",
"deploy": "npm run build:docs && ng deploy",
Expand Down

0 comments on commit 997a993

Please sign in to comment.