Lines Matching +full:eslint +full:- +full:plugin
1 import eslintjs from '@eslint/js';
2 import eslintConfigPrettier from 'eslint-config-prettier';
3 import { configs as tseslintConfigs } from 'typescript-eslint';
5 import eslintUnicorn from 'eslint-plugin-unicorn';
12 'test/data/html5lib-tests',
13 'test/data/html5lib-tests-fork',
40 'no-console': 'error',
42 'prefer-arrow-callback': 'error',
43 'one-var': ['error', 'never'],
44 'no-var': 'error',
45 'prefer-const': 'error',
46 'object-shorthand': 'error',
47 'prefer-destructuring': [
54 'prefer-template': 'error',
55 'arrow-body-style': ['error', 'as-needed'],
61 '@typescript-eslint/no-unsafe-declaration-merging': 'off',
62 '@typescript-eslint/no-non-null-assertion': 'warn',
63 '@typescript-eslint/no-explicit-any': 'warn',
64 '@typescript-eslint/explicit-function-return-type': 'error',
65 '@typescript-eslint/consistent-type-imports': 'error',
67 '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
74 'unicorn/no-null': 'off',
75 'unicorn/prevent-abbreviations': 'off',
76 'unicorn/prefer-string-slice': 'off',
77 'unicorn/prefer-code-point': 'off',
78 'unicorn/no-array-push-push': 'off',
79 'unicorn/no-for-loop': 'off',
80 'unicorn/consistent-destructuring': 'off',
81 'unicorn/prefer-string-replace-all': 'off',
82 'unicorn/prefer-at': 'off',
83 'unicorn/number-literal-case': 'off',
84 'unicorn/no-nested-ternary': 'off',
85 'unicorn/consistent-function-scoping': 'off',
86 'unicorn/prefer-switch': ['error', { emptyDefaultCase: 'do-nothing-comment' }],