Browse Source

lint & editor config

master
Colin Megill 6 years ago
parent
commit
0b696c08a1
  1. 14
      .editorconfig
  2. 2
      .eslintignore
  3. 3
      .eslintrc
  4. 3
      .jshintrc

14
.editorconfig

@ -0,0 +1,14 @@
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
[*.md]
trim_trailing_whitespace = false

2
.eslintignore

@ -0,0 +1,2 @@
dist/*
node_modules/*

3
.eslintrc

@ -0,0 +1,3 @@
---
"extends":
- "defaults/configurations/walmart/es6-react"

3
.jshintrc

@ -0,0 +1,3 @@
{
"esnext": true
}
Loading…
Cancel
Save