Skip to content

Commit 6a3a6db

Browse files
committed
initial commit
0 parents  commit 6a3a6db

File tree

5 files changed

+82
-0
lines changed

5 files changed

+82
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
.DS_Store

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Evan You
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# eslint-plugin-vue
2+
3+
ESLint plugin for Vue.js projects
4+
5+
## Usage
6+
7+
1. `npm install --save-dev eslint-config-vue eslint-plugin-vue`
8+
2. create a file named `.eslintrc` in your project:
9+
10+
```js
11+
{
12+
"extends": "vue"
13+
// Your overrides...
14+
}
15+
```
16+
17+
## License
18+
19+
[MIT](http://opensource.org/licenses/MIT)

index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
'use strict'
2+
3+
module.exports = {
4+
processors: {
5+
'.vue': require('eslint-plugin-html').processors['.vue']
6+
},
7+
rules: {
8+
'jsx-uses-vars': require('eslint-plugin-react/lib/rules/jsx-uses-vars')
9+
}
10+
}

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "eslint-plugin-vue",
3+
"version": "1.0.0",
4+
"description": "eslint plugin for vue.js projects",
5+
"main": "index.js",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/vuejs/eslint-plugin-vue.git"
9+
},
10+
"keywords": [
11+
"eslint",
12+
"plugin",
13+
"eslint-plugin",
14+
"eslintplugin",
15+
"vue"
16+
],
17+
"author": "Evan You",
18+
"license": "MIT",
19+
"bugs": {
20+
"url": "https://github.com/vuejs/eslint-plugin-vue/issues"
21+
},
22+
"homepage": "https://github.com/vuejs/eslint-plugin-vue#readme",
23+
"peerDependencies": {
24+
"eslint": "^2.0.0 || ^3.0.0"
25+
},
26+
"dependencies": {
27+
"eslint-plugin-html": "^1.5.2",
28+
"eslint-plugin-react": "^6.2.0"
29+
}
30+
}

0 commit comments

Comments
 (0)