Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e620beb
use dataset instead of get/set attribute
tacohole Sep 29, 2025
9816315
add to contributors
tacohole Sep 29, 2025
356e1d3
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Sep 29, 2025
0f84623
ignore some lines
tacohole Sep 29, 2025
44974e7
lint improvements
tacohole Oct 1, 2025
780965b
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 1, 2025
cf500b5
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 2, 2025
58ae651
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 3, 2025
f80e2de
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 4, 2025
17f01b1
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 5, 2025
3dd1a98
rm unicorn
tacohole Oct 5, 2025
464dc85
add it back
tacohole Oct 5, 2025
dd95679
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 5, 2025
b8b350f
PR feedback
tacohole Oct 6, 2025
1004786
more fixes
tacohole Oct 6, 2025
c686b50
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 6, 2025
32ea015
more replaces
tacohole Oct 6, 2025
e4341c0
some reverts
tacohole Oct 12, 2025
ff35476
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 12, 2025
ceb9b02
fix
tacohole Oct 12, 2025
67ab0e1
lint
tacohole Oct 12, 2025
99b7ebd
Merge branch 'master' into tc/ref_prefer_dataset_over_get_attribute
tacohole Oct 17, 2025
626bae8
conflicts
tacohole Oct 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
- [Free O'Toole](https://github.com/freeotoole)
- [TheBosZ](https://github.com/thebosz)
- [qm3jp](https://github.com/qm3jp)
- [tacohole](https://github.com/tacohole)

## Emby Contributors

Expand Down
7 changes: 5 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import eslint from '@eslint/js';
import comments from '@eslint-community/eslint-plugin-eslint-comments/configs';
import compat from 'eslint-plugin-compat';
import globals from 'globals';
// @ts-expect-error Missing type definition
import importPlugin from 'eslint-plugin-import';
import jsxA11y from 'eslint-plugin-jsx-a11y';
import reactPlugin from 'eslint-plugin-react';
import reactHooks from 'eslint-plugin-react-hooks';
import restrictedGlobals from 'confusing-browser-globals';
import sonarjs from 'eslint-plugin-sonarjs';
import stylistic from '@stylistic/eslint-plugin';
import unicorn from 'eslint-plugin-unicorn';
// eslint-disable-next-line import/no-unresolved
import tseslint from 'typescript-eslint';

Expand Down Expand Up @@ -48,7 +48,8 @@ export default tseslint.config(
// Global style rules
{
plugins: {
'@stylistic': stylistic
'@stylistic': stylistic,
'unicorn': unicorn
},
extends: [ importPlugin.flatConfigs.typescript ],
rules: {
Expand Down Expand Up @@ -107,6 +108,8 @@ export default tseslint.config(
'sonarjs/no-duplicate-string': 'off',
'sonarjs/no-nested-functions': 'warn',

'unicorn/prefer-dom-node-dataset': 'error',

// TODO: Replace with stylistic.configs.customize()
'@stylistic/block-spacing': 'error',
'@stylistic/brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
Expand Down
Loading
Loading