Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts committed May 17, 2019
0 parents commit 95b2c92
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
indent_size = 4
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules/
/yarn-error.log
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# `@inabagumi/prettier-config`

A Prettier config for the Haneru Developers.

## Install

```console
$ yarn add -D @inabagumi/prettier-config
```

## Usage

Edit `package.json`:

```json5
{
// ...
"prettier": "@inabagumi/prettier-config",
// ...
}
```
5 changes: 5 additions & 0 deletions index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"semi": false,
"singleQuote": true
}
19 changes: 19 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"author": "Haneru Developers",
"description": "A Prettier config for the Haneru Developers.",
"devDependencies": {
"prettier": "^1.17.1"
},
"homepage": "https://github.com/inabagumi/prettier-config",
"license": "MIT",
"main": "index.json",
"prettier": "./index.json",
"repository": {
"type": "git",
"url": "git+https://github.com/inabagumi/prettier-config.git"
},
"scripts": {
"format": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\""
},
"version": "1.0.0"
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


prettier@^1.17.1:
version "1.17.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db"
integrity sha512-TzGRNvuUSmPgwivDqkZ9tM/qTGW9hqDKWOE9YHiyQdixlKbv7kvEqsmDPrcHJTKwthU774TQwZXVtaQ/mMsvjg==

0 comments on commit 95b2c92

Please sign in to comment.