41 lines
818 B
JSON
41 lines
818 B
JSON
{
|
|
"env": {
|
|
"commonjs": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"plugins": [
|
|
"snakecasejs"
|
|
],
|
|
"extends": "eslint:recommended",
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12
|
|
},
|
|
"settings":
|
|
{
|
|
"snakecasejs/filter": ["ClassDeclaration", "NewExpression"],
|
|
"snakecasejs/whitelist": []
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_"}],
|
|
"snakecasejs/snakecasejs": "warn"
|
|
}
|
|
}
|