Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
TEACHING-MATERIALS/.eslintrc.json
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
55 lines (54 sloc)
1.35 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"es6": true, | |
"jasmine": true, | |
"node": true, | |
"browser": true, | |
"jest": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 8, | |
"sourceType": "module" | |
}, | |
"rules": { | |
"arrow-body-style": 2, | |
"arrow-spacing": [1, {"before": true, "after": true}], | |
"brace-style": 2, | |
"camelcase": [2, {"properties": "never"}], | |
"eol-last": 1, | |
"eqeqeq": 2, | |
"global-require": 2, | |
"handle-callback-err": 2, | |
"indent": [1, "tab", {"SwitchCase": 1}], | |
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}], | |
"linebreak-style": [2, "unix"], | |
"no-cond-assign": 2, | |
"no-dupe-args": 2, | |
"no-dupe-keys": 2, | |
"no-duplicate-case": 2, | |
"no-empty": 1, | |
"no-empty-function": 2, | |
"no-multiple-empty-lines": 1, | |
"no-extra-parens": 2, | |
"no-func-assign": 2, | |
"no-irregular-whitespace": 2, | |
"no-magic-numbers": [1, {"ignore": [-1, 0, 1]}], | |
"no-multi-spaces": 1, | |
"no-multi-str": 1, | |
"no-unexpected-multiline": 2, | |
"no-unreachable": 2, | |
"no-self-assign": 2, | |
"no-trailing-spaces": 1, | |
"no-undef": 2, | |
"no-unused-vars": "warn", | |
"no-var": 2, | |
"prefer-arrow-callback": 1, | |
"prefer-const": 2, | |
"prefer-template": 2, | |
"quotes": [1, "single"], | |
"semi": [1, "never"], | |
"space-before-function-paren": [2, "never"], | |
"strict": [2, "global"], | |
"yoda": 2 | |
} | |
} |