Skip to content

Instantly share code, notes, and snippets.

@steve-ross
Created July 8, 2016 15:00
Show Gist options
  • Save steve-ross/523d82992fb0b14fc9d1f9ea90aaedc2 to your computer and use it in GitHub Desktop.
Save steve-ross/523d82992fb0b14fc9d1f9ea90aaedc2 to your computer and use it in GitHub Desktop.
eslintrc.json
{
"env": {
"browser": true,
"meteor": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"indent": [1, 2],
"linebreak-style": [2, "unix"],
//"quotes": [2, "single"],
"semi": [1, "always"],
"brace-style": [2, "1tbs", { "allowSingleLine": true } ],
"array-bracket-spacing": [2, "never"],
"camelcase": [1, {"properties": "always"}],
"keyword-spacing": [1],
"eol-last": [2],
"comma-dangle": [1],
"no-trailing-spaces": [1],
"no-console": ["error", { "allow": ["warn", "error"] }]
},
"globals": {
"moment": true //
// Collections below
,"Tours": true //
,"WaitList": true // collection for waitlists. Should be moved to Tours.
,"Roles": true //
,"Permissions": true //
,"Bookings": true //
,"Contacts": true //
,"Migrations": true
,"TourImages": true
,"Payments": true
,"MailTemplates": true // Templatesfor email notifications
,"Util": true
,"Counts": true
,"Spacebars": true
,"AutoForm": true
,"Affiliations": true
,"AntiModals": true
,"SemanticModal": true
,"StatesAbbreviations": true
,"Fixtures": true
,"ReactiveDict": true
,"Mailer": true
,"Kadira": true
,"PersistentReactiveDict": true
,"ReactiveTable": true
,"Cookie": true // mrt:cookies
,"Cookies": true // thepumpinglemma:cookies
,"csv": true // chhib:fast-csv
,"CSV": true // dsyko:meteor-node-csv
,"slack": true
,"MailAPI": true
,"chance": true // fake data generator
,"toastr": true // popup dialogs
,"Api": true // Webhook response "API"
,"SearchSource": true
,"AppOps": true
,"TourFlyers": true
,"TourLetters": true
,"accounting": true // package we use to format money
,"Fuse": true
,"Redirects": true
,"SyncedCron": true
,"Vendors": true
,"VendorContracts": true
,"vendorListSettings": true
,"VendorContacts": true
,"Products": true
,"Facts": true
,"Helpers": true
,"APPOPS": true
,"CustomTemplates": true
,"TabularTables": true
,"Tabular": true
,"MailHelpers": true
,"MailTemplateData": true
,"SSR": true
,"AccountsTemplates": true
,"Iron": true
,"sAlert": true
,"BrowserPolicy": true
,"MailChimp": true
,"mailChimp": true
,"Schemas": true
,"SimpleSchema": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment