mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
da1169d75b
* ES6 classes support * Lint generated code * ES6 Tests for NodeJS * Add eslint rules for nodejs * Run prettier/eslint on nodejs test code
25 lines
374 B
JSON
25 lines
374 B
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"no-var": "error",
|
|
"prefer-const": "error",
|
|
"no-constant-condition": [
|
|
"error",
|
|
{
|
|
"checkLoops": false
|
|
}
|
|
]
|
|
}
|
|
}
|