Skip to content

Commit 711c258

Browse files
committed
added package.json and ESLint
1 parent bfd42a2 commit 711c258

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

.eslintrc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "airbnb",
3+
"env": {
4+
"es6": true,
5+
"browser": true,
6+
"commonjs": true
7+
},
8+
"rules": {
9+
"indent": ["error", 4, { "outerIIFEBody": 0 }],
10+
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
11+
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
12+
"no-mixed-operators": ["error", { "allowSamePrecedence": true }]
13+
}
14+
}

.gitignore

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

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "datatables-rowsgroup",
3+
"version": "2.0.0",
4+
"description": "Datatables plugin that groups rows (rowspan)",
5+
"main": "dataTables.rowsGroup.js",
6+
"scripts": {
7+
"test": "eslint *.js"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/ashl1/datatables-rowsgroup.git"
12+
},
13+
"author": "Alexey Shildyakov",
14+
"license": "MIT",
15+
"bugs": {
16+
"url": "https://github.com/ashl1/datatables-rowsgroup/issues"
17+
},
18+
"homepage": "https://github.com/ashl1/datatables-rowsgroup#readme",
19+
"dependencies": {
20+
"jQuery": "^1.7.4"
21+
},
22+
"devDependencies": {
23+
"eslint": "^4.6.1",
24+
"eslint-config-airbnb": "^15.1.0",
25+
"eslint-plugin-import": "^2.7.0",
26+
"eslint-plugin-jsx-a11y": "^5.1.1",
27+
"eslint-plugin-react": "^7.3.0"
28+
}
29+
}

0 commit comments

Comments
 (0)