├── .githooks └── pre-commit ├── .github ├── release.yml └── workflows │ └── test.yml ├── .gitignore ├── .mocharc.json ├── LICENSE ├── README.md ├── example.js ├── package.json ├── src ├── rc-config-loader.ts └── types.ts ├── test ├── fixtures │ ├── .barrc.js │ ├── .bazrc.cjs │ ├── .eslintrc │ ├── .foorc.json │ ├── .invalid-configrc.js │ ├── .invalidjsonrc.json │ ├── .textlintrc │ ├── .unknownrc │ ├── .yamlconfigrc.yml │ └── package.json ├── rc-config-loader-test.ts └── tsconfig.json ├── tsconfig.json └── yarn.lock /.githooks/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | npx --no-install lint-staged 3 | -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/.mocharc.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/README.md -------------------------------------------------------------------------------- /example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/example.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/package.json -------------------------------------------------------------------------------- /src/rc-config-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/src/rc-config-loader.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/fixtures/.barrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/fixtures/.barrc.js -------------------------------------------------------------------------------- /test/fixtures/.bazrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/fixtures/.bazrc.cjs -------------------------------------------------------------------------------- /test/fixtures/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/fixtures/.eslintrc -------------------------------------------------------------------------------- /test/fixtures/.foorc.json: -------------------------------------------------------------------------------- 1 | { 2 | foo: 1, 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/.invalid-configrc.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | throw new Error("invalid js"); 3 | -------------------------------------------------------------------------------- /test/fixtures/.invalidjsonrc.json: -------------------------------------------------------------------------------- 1 | { 2 | foo: 1, 3 | bar ++ 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/.textlintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/fixtures/.textlintrc -------------------------------------------------------------------------------- /test/fixtures/.unknownrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/fixtures/.unknownrc -------------------------------------------------------------------------------- /test/fixtures/.yamlconfigrc.yml: -------------------------------------------------------------------------------- 1 | foo: bar 2 | -------------------------------------------------------------------------------- /test/fixtures/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/fixtures/package.json -------------------------------------------------------------------------------- /test/rc-config-loader-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/rc-config-loader-test.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/rc-config-loader/HEAD/yarn.lock --------------------------------------------------------------------------------