UNPKG

airdcpp-webui

Version:
70 lines (63 loc) • 1.86 kB
/* šŸ‘‹ Hi! This file was autogenerated by tslint-to-eslint-config. https://github.com/typescript-eslint/tslint-to-eslint-config It represents the closest reasonable ESLint configuration to this project's original TSLint configuration. We recommend eventually switching this configuration to extend from the recommended rulesets in typescript-eslint. https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md Happy linting! šŸ’– */ // @ts-check import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; import react from 'eslint-plugin-react'; import globals from 'globals'; export default tseslint.config( { ignores: ['**/*.tmp/**'], }, eslint.configs.recommended, tseslint.configs.recommended, { plugins: { react, }, languageOptions: { parserOptions: { ecmaFeatures: { jsx: true, }, }, globals: { ...globals.browser, }, }, rules: { 'max-len': [ 'error', { code: 120, }, ], 'react/no-unescaped-entities': 'off', 'react/prop-types': 'off', 'no-extra-boolean-cast': 'off', 'no-prototype-builtins': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-this-alias': 'off', '@typescript-eslint/no-empty-interface': 'off', 'react/jsx-uses-react': 'off', 'react/react-in-jsx-scope': 'off', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/no-empty-object-type': 'off', '@typescript-eslint/no-require-imports': 'off', '@typescript-eslint/no-unused-vars': [ 'error', { args: 'none', ignoreRestSiblings: true }, ], }, }, );