mirror of
https://github.com/bourquep/mysa2mqtt.git
synced 2025-10-21 23:18:07 +00:00
feat: Mysa baseboard thermostats (#1)
This commit is contained in:
23
eslint.config.js
Normal file
23
eslint.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import pluginJs from '@eslint/js';
|
||||
import jsdoc from 'eslint-plugin-jsdoc';
|
||||
import tsdoc from 'eslint-plugin-tsdoc';
|
||||
import globals from 'globals';
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
/** @type {import('eslint').Linter.Config[]} */
|
||||
export default [
|
||||
{ files: ['**/*.{js,mjs,cjs,ts}'] },
|
||||
{ languageOptions: { globals: globals.node } },
|
||||
pluginJs.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
jsdoc.configs['flat/recommended-typescript'],
|
||||
{
|
||||
plugins: { jsdoc },
|
||||
rules: {
|
||||
'jsdoc/tag-lines': 'off',
|
||||
'jsdoc/check-tag-names': 'off',
|
||||
'jsdoc/valid-types': 'off'
|
||||
}
|
||||
},
|
||||
{ plugins: { tsdoc }, rules: { 'tsdoc/syntax': 'warn' } }
|
||||
];
|
Reference in New Issue
Block a user