UNPKG

@blake.regalia/eslint-config-elite

Version:

ESLint config enforcing snake-type semantics and opinionated styling

183 lines (182 loc) 5.87 kB
import perfectionist from 'eslint-plugin-perfectionist'; declare const _default: { root: boolean; env: { es2020: boolean; }; plugins: { '@typescript-eslint': { default: { configs: Record<string, perfectionist>; meta: perfectionist; rules: typeof import("@typescript-eslint/eslint-plugin/rules"); }; configs: Record<string, perfectionist>; meta: perfectionist; rules: typeof import("@typescript-eslint/eslint-plugin/rules"); }; perfectionist: any; 'modules-newline': PackageConfig; i: PackageConfig; }; overrides: { env: { es2020: boolean; browser: boolean; }; parser: string; parserOptions: { ecmaVersion: number; sourceType: string; tsconfigRootDir: string; extraFileExtensions: string[]; }; extends: string[]; globals: { chrome: string; }; settings: { 'i/parsers': { '@typescript-eslint/parser': string[]; }; 'i/resolver': { typescript: { alwaysTryTypes: boolean; extensions: string[]; }; }; }; rules: { 'wrap-iife': string[]; 'array-bracket-spacing': string[]; 'comma-style': string[]; 'computed-property-spacing': string[]; 'eol-last': string[]; 'implicit-arrow-linebreak': string[]; 'key-spacing': (string | { singleLine: { beforeColon: boolean; afterColon: boolean; }; multiLine: { mode: string; beforeColon: boolean; afterColon: boolean; }; })[]; 'linebreak-style': string[]; 'multiline-ternary': string; 'new-cap': (string | { newIsCap: boolean; capIsNewExceptionPattern: string; capIsNew: boolean; properties: boolean; })[]; 'new-parens': string[]; 'nonblock-statement-body-position': string[]; 'object-property-newline': (string | { allowAllPropertiesOnSameLine: boolean; })[]; 'one-var': (string | { initialized: string; })[]; 'operator-assignment': string[]; 'operator-linebreak': string[]; 'padded-blocks': string[]; 'quote-props': string[]; 'semi-spacing': (string | { before: boolean; after: boolean; })[]; 'semi-style': string[]; 'space-before-blocks': string[]; 'space-in-parens': string[]; 'space-unary-ops': (string | { words: boolean; nonwords: boolean; })[]; 'spaced-comment': (string | { exceptions: string[]; markers: string[]; })[]; 'switch-colon-spacing': string[]; 'template-tag-spacing': string[]; yoda: (string | { onlyEquality: boolean; })[]; 'arrow-body-style': string[]; 'arrow-parens': (string | { requireForBlockBody: boolean; })[]; 'arrow-spacing': string[]; 'generator-star-spacing': (string | { named: string; anonymous: string; method: string; })[]; 'rest-spread-spacing': string[]; 'symbol-description': string[]; 'template-curly-spacing': string[]; 'yield-star-spacing': string[]; 'no-fallthrough': string[]; 'for-direction': string[]; 'getter-return': (string | { allowImplicit: boolean; })[]; 'valid-typeof': (string | { requireStringLiterals: boolean; })[]; 'array-callback-return': string[]; 'class-methods-use-this': string[]; curly: string[]; 'default-case': string[]; 'dot-location': string[]; eqeqeq: string[]; }; files: string[]; }[]; rules: { [k: string]: string | string[] | (string | { singleLine: { beforeColon: boolean; afterColon: boolean; }; multiLine: { mode: string; beforeColon: boolean; afterColon: boolean; }; })[] | (string | { newIsCap: boolean; capIsNewExceptionPattern: string; capIsNew: boolean; properties: boolean; })[] | (string | { allowAllPropertiesOnSameLine: boolean; })[] | (string | { initialized: string; })[] | (string | { before: boolean; after: boolean; })[] | (string | { words: boolean; nonwords: boolean; })[] | (string | { exceptions: string[]; markers: string[]; })[] | (string | { onlyEquality: boolean; })[] | (string | { requireForBlockBody: boolean; })[] | (string | { named: string; anonymous: string; method: string; })[] | (string | { allowImplicit: boolean; })[] | (string | { requireStringLiterals: boolean; })[]; }; }; export default _default;