UNPKG

eslint-config-shiny

Version:

An eslint config that makes your code so clean and polished that it shines!

2 lines (1 loc) 1.43 kB
import*as n from"@eslint/eslintrc";import c from"@typescript-eslint/parser";import t from"globals";var s=["**/node_modules","**/dist","**/build","**/bin","**/package-lock.json","**/yarn.lock","**/pnpm-lock.yaml","**/bun.lockb","**/output","**/coverage","**/temp","**/.temp","**/tmp","**/.tmp","**/.history","**/.vitepress/cache","**/.nuxt","**/.next","**/.vercel","**/.changeset","**/.idea","**/.vscode","**/.cache","**/.env","**/.output","**/.vite-inspect","**/.yarn","**/CHANGELOG*.md","**/*.min.*","**/LICENSE*","**/__snapshots__","**/*.d.ts","**/*.zip"],e="?([cm])[jt]s?(x)";var o=`**/*${e}`,p=[`**/__tests__/**/*.${e}`,`**/*.spec.${e}`,`**/*.test.${e}`,`**/*.bench.${e}`,`**/*.benchmark.${e}`];var l=[".js",".cjs",".mjs"],i=[".ts",".cts",".mts"],r=[...l,...i],b={files:[o],ignores:s,languageOptions:{ecmaVersion:"latest",globals:[t.es2021,t.commonjs,n.Legacy.environments.get("es2024").globals],parser:c,parserOptions:{ecmaVersion:"latest",projectService:{allowDefaultProject:["./*.js"]},sourceType:"module"},sourceType:"module"},linterOptions:{reportUnusedDisableDirectives:!0},name:"empty",plugins:{},rules:[],settings:{"import/extensions":r,"import/external-module-folders":["node_modules","node_modules/@types"],"import/ignore":["node_modules"],"import/parsers":{"@typescript-eslint/parser":i,espree:l},"import/resolver":{node:{extensions:r,resolvePaths:["node_modules/@types"]},typescript:!0}}};export{b as config};