piston/api/.eslintrc.json

41 lines
818 B
JSON
Raw Normal View History

2021-02-20 15:13:56 +01:00
{
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"plugins": [
"snakecasejs"
],
"extends": "eslint:recommended",
2021-02-20 23:39:03 +01:00
"parser": "babel-eslint",
2021-02-20 15:13:56 +01:00
"parserOptions": {
"ecmaVersion": 12
},
"settings":
{
"snakecasejs/filter": ["ClassDeclaration", "NewExpression"],
"snakecasejs/whitelist": []
},
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
2021-02-20 23:39:03 +01:00
"single"
2021-02-20 15:13:56 +01:00
],
"semi": [
"error",
2021-02-20 23:39:03 +01:00
"always"
2021-02-20 15:13:56 +01:00
],
"no-unused-vars": ["error", { "argsIgnorePattern": "^_"}],
"snakecasejs/snakecasejs": "warn"
}
}