BVB Source Codes

mongo-express Show .eslintrc.js Source code

Return Download mongo-express: download .eslintrc.js Source code - Download mongo-express Source code - Type:.js
  1. module.exports = {
  2.   extends: "airbnb-base",
  3.   parserOptions: {
  4.     "sourceType": "script",
  5.   },
  6.   env: {
  7.     node: true,
  8.     es6: true
  9.   },
  10.   plugins: [
  11.     "import",
  12.     "lodash"
  13.   ],
  14.   rules: {
  15.     "strict": ["error", "global"],
  16.     "global-require":["off"],
  17.     "comma-dangle": ["error", "always-multiline"],
  18.     "func-names": ["off"],
  19.     "new-cap": ["off"],
  20.     "consistent-return": ["off"],
  21.     "no-lonely-if": ["off"],
  22.     "no-console": ["off"],
  23.     "vars-on-top": ["off"],
  24.     "no-param-reassign": ["off"],
  25.     "prefer-arrow-callback": ["off"],
  26.     "no-else-return": ["off"],
  27.     "no-nested-ternary": ["off"],
  28.  
  29.     "no-restricted-syntax": ["off"],
  30.     "no-mixed-operators": ["off"],
  31.     "no-plusplus": ["off"],
  32.     "guard-for-in": ["off"],
  33.     "no-continue": ["off"],
  34.  
  35.     "no-multi-spaces": ["off"],
  36.     "key-spacing": ["off"],
  37.     "max-len": ["error", 150, 2],
  38.     "spaced-comment": ["off"],
  39.     "brace-style": ["warn", "1tbs"],
  40.     "prefer-template": ["off"],
  41.     "padded-blocks": ["off"],
  42.     "no-underscore-dangle": ["off"],
  43.  
  44.     "import/no-extraneous-dependencies": ["error", {
  45.       "devDependencies": [
  46.         "**/test/**/*.js",
  47.         "**/scripts/*.js",
  48.         "**/webpack.config.js",
  49.       ]
  50.     }],
  51.  
  52.     "lodash/callback-binding": ["error"],
  53.     "lodash/collection-method-value": ["error"],
  54.     "lodash/collection-return": ["error"],
  55.     "lodash/no-double-unwrap": ["error"],
  56.     "lodash/no-extra-args": ["error"],
  57.     "lodash/no-unbound-this": ["error"],
  58.     "lodash/unwrap": ["error"],
  59.  
  60.     // To be turned on
  61.     "no-var": ["off"],
  62.     "prefer-const": ["off"],
  63.     "object-shorthand": ["off"],
  64.     "no-path-concat": ["off"],
  65.     "no-shadow": ["off", {allow: ["err", "error"]}],
  66.     "camelcase": ["off"],
  67.   },
  68. };
  69.  
download.eslintrc.js Source code - Download mongo-express Source code
Related Source Codes/Software:
XCL-Charts - Android charting libraries (XCL-Charts is a free c... 2017-05-17
scrollMonitor - A simple and fast API to monitor elements as you s... 2017-05-16
XCDYouTubeKit - YouTube video player for iOS, tvOS and macOS 2017-05-16
rails-erd - Generate Entity-Relationship Diagrams for Rails ap... 2017-05-16
np - A better `npm publish` 2017-05-16
kaminari - A Scope & Engine based, clean, powerful, custo... 2017-06-04
python-fire - Python Fire is a library for automatically generat... 2017-06-04
Dapper - Dapper - a simple object mapper for .Net 2017-06-05
pkg - Package your Node.js project into an executable ... 2017-06-05
packer - Packer is a tool for creating identical machine im... 2017-06-05
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top