UNPKG

@microfox/slack

Version:

This package provides a lightweight, proxy interface to the official Slack Web API, offering a curated set of the most commonly used functions for building Slack integrations. It is designed to be simple, efficient, and easy to integrate into your project

49 lines (47 loc) 1.12 kB
import js from '@eslint/js'; import tseslint from '@typescript-eslint/eslint-plugin'; import tsparser from '@typescript-eslint/parser'; export default [ js.configs.recommended, { files: ['**/*.ts', '**/*.tsx'], languageOptions: { parser: tsparser, parserOptions: { ecmaVersion: 2020, sourceType: 'module', ecmaFeatures: { jsx: true, }, }, globals: { console: 'readonly', process: 'readonly', }, }, plugins: { '@typescript-eslint': tseslint, }, rules: { ...tseslint.configs.recommended.rules, 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': ['warn'], 'no-console': 'warn', 'react/prop-types': 'off', 'no-case-declarations': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/no-empty-function': 'off', }, }, { ignores: [ 'dist/**', 'node_modules/**', '.turbo/**', 'coverage/**', '**/*.js', '**/*.test.ts', ], }, ];