Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 85983e3

Browse filesBrowse files
committed
Merge branch 'eslint' of https://github.com/thomasboyt/immutable-js into thomasboyt-eslint
2 parents bc07d75 + b5e4fc3 commit 85983e3
Copy full SHA for 85983e3

File tree

Expand file treeCollapse file tree

2 files changed

+22
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+22
-0
lines changed

‎.eslintrc

Copy file name to clipboard
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"extends": "./node_modules/fbjs-scripts/eslint/.eslintrc",
3+
"rules": {
4+
// These are functional errors that could either be fixed or be locally disabled in specific
5+
// files
6+
"no-bitwise": 0,
7+
"constructor-super": 0,
8+
"no-this-before-super": 0,
9+
"no-self-compare": 0,
10+
"operator-assignment": 0,
11+
"consistent-return": 0,
12+
13+
// These are stylistic errors that could be easily fixed
14+
"semi": 0,
15+
"comma-dangle": 0,
16+
"space-before-function-paren": 0,
17+
"curly": 0,
18+
}
19+
}

‎package.json

Copy file name to clipboardExpand all lines: package.json
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,18 @@
3636
},
3737
"devDependencies": {
3838
"acorn": "0.11.x",
39+
"babel-eslint": "^4.1.8",
3940
"benchmark": "^1.0.0",
4041
"bluebird": "3.1.1",
4142
"browser-sync": "2.11.0",
4243
"browserify": "^5.11.2",
4344
"colors": "1.1.2",
4445
"del": "2.2.0",
4546
"es6-transpiler": "0.7.18",
47+
"eslint": "^1.10.3",
4648
"estraverse": "1.9.3",
4749
"express": "^4.13.4",
50+
"fbjs-scripts": "^0.5.0",
4851
"grunt": "0.4.5",
4952
"grunt-cli": "0.1.13",
5053
"grunt-contrib-clean": "0.7.0",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.