Skip to content

Commit

Permalink
add: eslint to vue and react
Browse files Browse the repository at this point in the history
  • Loading branch information
魏银鹏 committed Sep 13, 2018
1 parent 1916ba6 commit 7858e76
Show file tree
Hide file tree
Showing 9 changed files with 7,409 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vue-webpack-eslint/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
// vue-cli3 推荐extends
"extends": "plugin:vue-libs/recommended",
};
14 changes: 14 additions & 0 deletions vue-webpack-eslint/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>single-file-components</title>
</head>
<body>
<h2>single-file-components</h2>
<div id="app">{{value}}</div>
<script src="./dist/main.js"></script>
</body>
</html>
Loading

0 comments on commit 7858e76

Please sign in to comment.