├── .editorconfig ├── .gitattributes ├── .github ├── security.md └── workflows │ └── main.yml ├── .gitignore ├── .npmrc ├── fixture ├── fifty-fifty-space-first.js ├── fifty-fifty-tab-first.js ├── long-repeat.js ├── mixed-space.js ├── mixed-tab.js ├── single-space-ignore.js ├── single-space-only.js ├── space-tab-last.js ├── space.js ├── tab-four.js ├── tab.js └── vendor-prefixed-css.css ├── index.d.ts ├── index.js ├── index.test-d.ts ├── license ├── package.json ├── readme.md └── test.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/security.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/.github/security.md -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | yarn.lock 3 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /fixture/fifty-fifty-space-first.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/fifty-fifty-space-first.js -------------------------------------------------------------------------------- /fixture/fifty-fifty-tab-first.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/fifty-fifty-tab-first.js -------------------------------------------------------------------------------- /fixture/long-repeat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/long-repeat.js -------------------------------------------------------------------------------- /fixture/mixed-space.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/mixed-space.js -------------------------------------------------------------------------------- /fixture/mixed-tab.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/mixed-tab.js -------------------------------------------------------------------------------- /fixture/single-space-ignore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/single-space-ignore.js -------------------------------------------------------------------------------- /fixture/single-space-only.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/single-space-only.js -------------------------------------------------------------------------------- /fixture/space-tab-last.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/space-tab-last.js -------------------------------------------------------------------------------- /fixture/space.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/space.js -------------------------------------------------------------------------------- /fixture/tab-four.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/tab-four.js -------------------------------------------------------------------------------- /fixture/tab.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/tab.js -------------------------------------------------------------------------------- /fixture/vendor-prefixed-css.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/fixture/vendor-prefixed-css.css -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/index.js -------------------------------------------------------------------------------- /index.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/index.test-d.ts -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/license -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/readme.md -------------------------------------------------------------------------------- /test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sindresorhus/detect-indent/HEAD/test.js --------------------------------------------------------------------------------