mirror of
https://github.com/postlight/mercury-parser
synced 2024-10-31 03:20:40 +00:00
e4b057f9ea
* chore: update .nvmrc * added prettier and pre-commit hooks * update docker image to new node * add karma-cli to get web tests working * explictly install karma... seems to fix problem * remove pre-built phantomjs * swap install order
45 lines
909 B
Plaintext
45 lines
909 B
Plaintext
// Use this file as a starting point for your project's .eslintrc.
|
|
// Copy this file, and add rule overrides as needed.
|
|
{
|
|
"parser": "babel-eslint",
|
|
"extends": ["airbnb", "prettier"],
|
|
"plugins": [
|
|
"babel"
|
|
],
|
|
"globals": {
|
|
/* mocha */
|
|
"describe",
|
|
"it",
|
|
"fit",
|
|
"jasmine",
|
|
"beforeEach",
|
|
"beforeAll",
|
|
"afterAll",
|
|
},
|
|
"rules": {
|
|
"no-param-reassign": 0,
|
|
"no-control-regex": 0,
|
|
"import/prefer-default-export": 0,
|
|
"generator-star-spacing": 0,
|
|
"babel/generator-star-spacing": 0,
|
|
"func-names": 0,
|
|
// "no-useless-escape": 0,
|
|
"no-confusing-arrow": 0,
|
|
"camelcase": 0,
|
|
"no-multiple-empty-lines": [
|
|
"error", {"max": 1, "maxEOF": 0, "maxBOF": 0}
|
|
],
|
|
},
|
|
"options": {
|
|
"no-multiple-empty-lines": {
|
|
"max": 1,
|
|
"maxEOF": 0,
|
|
},
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"babel-module": {}
|
|
}
|
|
},
|
|
}
|