UNPKG

@blake.regalia/eslint-config-elite

Version:

ESLint config enforcing snake-type semantics and opinionated styling

71 lines 2.18 kB
import { error, off, under, warn } from '../util.js'; export const H_RULES_I = under({ 'i/': { ...warn([ 'no-duplicates', 'no-self-import', // 'first', ]), ...under({ 'no-': { cycle: ['warn', { ignoreExternal: true, }], }, }), order: ['warn', { "groups": [ 'type', 'builtin', 'external', ['sibling', 'parent'], 'index', 'object', ], "alphabetize": { order: 'asc', caseInsensitive: true, }, "pathGroups": [ { pattern: 'ts-toolbelt', group: 'type', position: 'before', }, { pattern: 'ts-toolbelt/**', group: 'type', position: 'before', }, { pattern: '#/{meta,schema}/**', group: 'type', position: 'after', }, { pattern: '{#,##}/**', group: 'sibling', position: 'before', }, // { // pattern: '{.,..}/**/*.ts', // group: 'index', // }, // { // pattern: './*', // group: 'index', // }, { pattern: '{.,..}/**/*.svelte', group: 'index', }, ], 'newlines-between': 'always-and-inside-groups', }], }, // 'typescript-sort-keys/': { // 'interface': 'off', // 'string-enum': 'off', // }, }); //# sourceMappingURL=i.js.map