Skip to content

Commit

Permalink
Added prettier + eslint, updated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbukowski committed May 22, 2019
1 parent 409b09d commit 6bfad71
Show file tree
Hide file tree
Showing 11 changed files with 4,286 additions and 820 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# /node_modules/* and /bower_components/* in the project root are ignored by default

ui/build/*
ui/node_modules/*
bundle.js
23 changes: 23 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"env": {
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": 2018
},
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"linebreak-style": ["error", "unix"],
"no-console": "off",
"camelcase": [
"error",
{
"properties": "never",
"ignoreDestructuring": true
}
]
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ jspm_packages

# Optional REPL history
.node_repl_history

.vscode

3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ui/build/*
ui/node_modules/*
bundle.js
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"semi": false,
"printWidth": 120
}
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Chainpoint Parse

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![npm](https://img.shields.io/npm/l/chainpoint-parse.svg)](https://www.npmjs.com/package/chainpoint-parse)
[![npm](https://img.shields.io/npm/v/chainpoint-parse.svg)](https://www.npmjs.com/package/chainpoint-parse)

Expand Down
Loading

0 comments on commit 6bfad71

Please sign in to comment.