You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
837 B
33 lines
837 B
import { ESLint, Linter, Rule } from 'eslint'; |
|
|
|
declare const plugin: ESLint.Plugin & { |
|
meta: { |
|
name: string; |
|
version: string; |
|
}; |
|
configs: { |
|
'recommended': Linter.LegacyConfig; |
|
'errors': Linter.LegacyConfig; |
|
'warnings': Linter.LegacyConfig; |
|
'stage-0': Linter.LegacyConfig; |
|
'react': Linter.LegacyConfig; |
|
'react-native': Linter.LegacyConfig; |
|
'electron': Linter.LegacyConfig; |
|
'typescript': Linter.LegacyConfig; |
|
}; |
|
flatConfigs: { |
|
'recommended': Linter.FlatConfig; |
|
'errors': Linter.FlatConfig; |
|
'warnings': Linter.FlatConfig; |
|
'stage-0': Linter.FlatConfig; |
|
'react': Linter.FlatConfig; |
|
'react-native': Linter.FlatConfig; |
|
'electron': Linter.FlatConfig; |
|
'typescript': Linter.FlatConfig; |
|
}; |
|
rules: { |
|
[key: string]: Rule.RuleModule; |
|
}; |
|
}; |
|
|
|
export = plugin;
|
|
|