Skip to content

Commit 7cb3039

Browse files
committed
Meta tweaks
1 parent d3746ac commit 7cb3039

File tree

9 files changed

+51
-64
lines changed

9 files changed

+51
-64
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[{package.json,*.yml}]
10+
[*.yml]
1111
indent_style = space
1212
indent_size = 2

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* text=auto
2+
*.js text eol=lf

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
yarn.lock

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
sudo: false
21
language: node_js
32
node_js:
43
- '8'

conf/rules/no-alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
module.exports = function (context) {
33
return {
4-
CallExpression: function (node) {
4+
CallExpression(node) {
55
if (node.callee.name === 'alert') {
66
context.report(node, 'testing custom rules.');
77
}

license

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
1-
The MIT License (MIT)
1+
MIT License
22

33
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
44

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:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
116

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
148

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.
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

package.json

Lines changed: 41 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,43 @@
11
{
2-
"name": "grunt-eslint",
3-
"version": "20.0.0",
4-
"description": "Validate files with ESLint",
5-
"license": "MIT",
6-
"repository": "sindresorhus/grunt-eslint",
7-
"author": {
8-
"name": "Sindre Sorhus",
9-
"email": "[email protected]",
10-
"url": "sindresorhus.com"
11-
},
12-
"engines": {
13-
"node": ">=4"
14-
},
15-
"scripts": {
16-
"test": "grunt"
17-
},
18-
"files": [
19-
"tasks"
20-
],
21-
"keywords": [
22-
"gruntplugin",
23-
"lint",
24-
"validate",
25-
"report",
26-
"jshint",
27-
"jslint",
28-
"ecmascript",
29-
"esprima"
30-
],
31-
"dependencies": {
32-
"chalk": "^2.1.0",
33-
"eslint": "^4.0.0"
34-
},
35-
"devDependencies": {
36-
"grunt": "^1.0.1",
37-
"grunt-cli": "^1.2.0",
38-
"grunt-shell": "^1.1.1"
39-
},
40-
"peerDependencies": {
41-
"grunt": ">=0.4.0"
42-
},
43-
"xo": {
44-
"esnext": true
45-
}
2+
"name": "grunt-eslint",
3+
"version": "20.0.0",
4+
"description": "Validate files with ESLint",
5+
"license": "MIT",
6+
"repository": "sindresorhus/grunt-eslint",
7+
"author": {
8+
"name": "Sindre Sorhus",
9+
"email": "[email protected]",
10+
"url": "sindresorhus.com"
11+
},
12+
"engines": {
13+
"node": ">=4"
14+
},
15+
"scripts": {
16+
"test": "grunt"
17+
},
18+
"files": [
19+
"tasks"
20+
],
21+
"keywords": [
22+
"gruntplugin",
23+
"lint",
24+
"validate",
25+
"report",
26+
"jshint",
27+
"jslint",
28+
"ecmascript",
29+
"esprima"
30+
],
31+
"dependencies": {
32+
"chalk": "^2.1.0",
33+
"eslint": "^4.0.0"
34+
},
35+
"devDependencies": {
36+
"grunt": "^1.0.1",
37+
"grunt-cli": "^1.2.0",
38+
"grunt-shell": "^2.1.0"
39+
},
40+
"peerDependencies": {
41+
"grunt": ">=0.4.0"
42+
}
4643
}

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# grunt-eslint [![Build Status](https://travis-ci.org/sindresorhus/grunt-eslint.svg?branch=master)](https://travis-ci.org/sindresorhus/grunt-eslint)
22

3-
> Validate files with [ESLint](http://eslint.org)
3+
> Validate files with [ESLint](https://eslint.org)
44
55
![](screenshot.png)
66

0 commit comments

Comments
 (0)