mirror of
https://github.com/vale981/Vulcan
synced 2025-03-04 09:11:43 -05:00
84 lines
1.7 KiB
Text
84 lines
1.7 KiB
Text
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:meteor/recommended",
|
|
"plugin:react/recommended"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"allowImportExportEverywhere": true,
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"babel/generator-star-spacing": 0,
|
|
"babel/new-cap": [
|
|
1,
|
|
{
|
|
"capIsNewExceptions": [
|
|
"Optional",
|
|
"OneOf",
|
|
"Maybe",
|
|
"MailChimpAPI",
|
|
"Juice",
|
|
"Run",
|
|
"AppComposer",
|
|
"Query"
|
|
]
|
|
}
|
|
],
|
|
"babel/array-bracket-spacing": 1,
|
|
"babel/object-curly-spacing": 0,
|
|
# "babel/object-curly-spacing": [1, "always", { "objectsInObjects": false, "arraysInObjects": false }],
|
|
"babel/object-shorthand": 0,
|
|
"babel/arrow-parens": 0,
|
|
"no-await-in-loop": 1,
|
|
"comma-dangle": 0,
|
|
"key-spacing": 0,
|
|
"meteor/audit-argument-checks": 0,
|
|
"no-case-declarations": 0,
|
|
"no-console": 1,
|
|
"no-extra-boolean-cast": 0,
|
|
"no-undef": 1,
|
|
"no-unused-vars": [
|
|
1,
|
|
{
|
|
"vars": "all",
|
|
"args": "none",
|
|
"varsIgnorePattern": "React|PropTypes|Component"
|
|
}
|
|
],
|
|
"no-useless-escape": 0,
|
|
"quotes": [
|
|
1,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"react/display-name": 1,
|
|
"react/prop-types": 0,
|
|
"semi": [1, "always"]
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"meteor": true,
|
|
"node": true,
|
|
"mocha": true
|
|
},
|
|
"plugins": [
|
|
"babel",
|
|
"meteor",
|
|
"react",
|
|
"prettier",
|
|
"mocha"
|
|
],
|
|
"settings": {
|
|
"import/resolver": "meteor"
|
|
},
|
|
"root": true,
|
|
"globals": {
|
|
"param": true,
|
|
"returns": true
|
|
}
|
|
}
|