Skip to content

Commit

Permalink
add: .eslintrcをデフォルトで追加して設定しやすく
Browse files Browse the repository at this point in the history
  • Loading branch information
sable-virt committed Dec 10, 2016
1 parent b95b999 commit 045083b
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"env": {
"browser": true,
"mocha": true,
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"comma-dangle": [1, "never"],
"no-console": 1,
"eol-last": 0,
"block-scoped-var": 0,
"complexity": 1,
"consistent-return": 1,
"default-case": 1,
"eqeqeq": 1,
"no-alert": 1,
"no-caller": 1,
"no-eval": 2,
"no-new": 0,
"no-new-func": 1,
"no-proto": 2,
"no-script-url": 1,
"no-self-compare": 1,
"no-void": 2,
"no-var": 2,
"camelcase": [2, {"properties": "always"}],
"no-array-constructor": 1,
"quotes": [0, "single"],
"no-unused-vars": 1,
"space-after-keywords": 0,
"space-infix-ops": 0,
"space-return-throw-case": 0,
"comma-spacing": 0,
"prefer-const": 0,
"no-undef": 0,
"curly": 0
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"jsx": true
}
}

0 comments on commit 045083b

Please sign in to comment.