Skip to content

Commit

Permalink
chore: Update docs script and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Junmin Liu committed Apr 24, 2018
1 parent a122eac commit 654c166
Show file tree
Hide file tree
Showing 7 changed files with 416 additions and 446 deletions.
9 changes: 9 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "airbnb",
"rules": {
"class-methods-use-this": "off",
"node/no-unsupported-features": "off",
"react/jsx-filename-extension": "off"
}
}

63 changes: 0 additions & 63 deletions .eslintrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"eslint.autoFixOnSave": true,
"prettier.eslintIntegration": true,
"javascript.validate.enable": false,
"editor.rulers": [
80
],
"html.format.endWithNewline": true,
"files.trimTrailingWhitespace": true,
"editor.trimAutoWhitespace": true
}
9 changes: 9 additions & 0 deletions docs/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"globals": {
},
"rules": {
"import/no-extraneous-dependencies": "off",
"import/no-webpack-loader-syntax": "off",
"import/no-unresolved": "off"
}
}
Loading

0 comments on commit 654c166

Please sign in to comment.