1.21.1 • Published 5 years ago

@test-release/editor-config v1.21.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

@test-release/editor-config

A micro generator for generating editor-config configuration.

CLI

I highly recommend using npx so that you don't have to install anything globally, and you can always get the latest version from npm.

  • optional --path=target_folder
npx @test-release/editor-config

Programmatically

You have to generate JSON schema and use execute function from @test-release/core:

// src/index.ts
import { execute, getProjectFolder } from '@test-release/core'
import { createSchema } from '@test-release/editor-config'

const generate = async () => {
  const projectFolder = getProjectFolder() ?? '.'
  
  const schema = createSchema()
  await execute(schema, projectFolder)
}

generate()

Now all you have to do is run:

ts-node src/index.ts
1.21.1

5 years ago

1.21.0

5 years ago

1.20.0

5 years ago

1.19.2

5 years ago

1.19.0

5 years ago

1.19.1

5 years ago

1.18.1

5 years ago

1.18.0

5 years ago

1.17.0

5 years ago

1.16.2

5 years ago

1.16.1

5 years ago

1.16.0

5 years ago

1.15.0

5 years ago

1.14.1

5 years ago

1.15.1

5 years ago

1.14.0

5 years ago

1.13.1

5 years ago

1.12.2

5 years ago

1.13.0

5 years ago

1.12.1

5 years ago

1.12.0

5 years ago

1.11.0

5 years ago

1.10.0

5 years ago

1.9.4

5 years ago

1.9.3

5 years ago

1.9.2

5 years ago

1.9.1

5 years ago

1.9.0

5 years ago

1.8.5

5 years ago

1.8.4

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago