Skip to content

Commit 09342bd

Browse files
committed
chore(eslint): update rules
1 parent 7a5390f commit 09342bd

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

eslint.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ module.exports = tseslint.config(
2727
'quote-props': ['warn', 'consistent-as-needed'],
2828
'quotes': ['warn', 'single', { allowTemplateLiterals: true }],
2929
'semi': ['warn', 'always'],
30-
'@typescript-eslint/no-explicit-any': 'off',
3130
'@typescript-eslint/no-empty-function': 'off',
31+
'@typescript-eslint/no-explicit-any': 'off',
3232
'@typescript-eslint/no-inferrable-types': 'off',
3333
'@typescript-eslint/no-unused-vars': 'off',
34+
'@angular-eslint/component-class-suffix': 'off',
35+
'@angular-eslint/directive-class-suffix': 'off',
3436
'@angular-eslint/no-empty-lifecycle-method': 'off',
3537
'@angular-eslint/no-output-native': 'off',
3638
},

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"watch": "ng build dev-app --watch --configuration development",
1313
"test": "ng test dev-app",
1414
"lint": "ng lint --fix && npm run lint:scss",
15-
"lint:scss": "stylelint \"**/*.scss\" --fix",
15+
"lint:ts": "eslint \"projects/**/*.ts\" --fix",
16+
"lint:scss": "stylelint \"projects/**/*.scss\" --fix",
1617
"build:lib": "ng build code-editor && cp README.md dist/code-editor",
1718
"publish": "npm run build:lib && cd dist/code-editor && npm publish",
1819
"deploy": "npm run build && ng deploy",

projects/code-editor/eslint.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ module.exports = tseslint.config(
2323
style: 'kebab-case',
2424
},
2525
],
26-
'@angular-eslint/directive-class-suffix': 'off',
27-
'@angular-eslint/component-class-suffix': 'off',
2826
},
2927
},
3028
{

0 commit comments

Comments
 (0)