UNPKG

openframe-tangram

Version:

Openframe extension which adds support for maps via tangram-es

97 lines (87 loc) 2.26 kB
Skip to content This repository Search Pull requests Issues Gist @patriciogonzalezvivo Watch 2 Star 0 Fork 0 OpenframeProject/Openframe-Extension Code Issues 0 Pull requests 0 Wiki Pulse Graphs Branch: master Find file Copy pathOpenframe-Extension/.eslintrc.yml d829714 on Apr 21 @jmwohl jmwohl Tests :D 1 contributor RawBlameHistory 80 lines (69 sloc) 1.75 KB # see http://eslint.org/docs/rules/ for recommended rules extends: 'eslint:recommended' rules: indent: - 2 - 4 - SwitchCase: 1 linebreak-style: [2, unix] no-console: [0] no-unused-vars: [1] # commas go last comma-style: [1, last] # variable comes before literal in conditional yoda: [1, never] # dots on same line as property dot-location: [1, property] # don't allow void operator no-void: [1] # no space before function paren space-before-function-paren: [1, never] # prefer a single declaration for vars one-var: - 1 space-before-blocks: [1, always] # prefer no space between array brackets array-bracket-spacing: [1, never] # prefer no space between object curly brackets object-curly-spacing: [1, never] # prefer no space between object prop brackets computed-property-spacing: [1, never] # prefer camelcase # camelcase: # - 1 # - properties: always # prefer brackets for blocks curly: [1] no-multi-spaces: [1] space-in-parens: [1, never] eol-last: [1] no-trailing-spaces: [1] no-mixed-spaces-and-tabs: [1] # Allow but do not force dangling commas. comma-dangle: [0] # use single quotes quotes: [2, single] # use semicolons to end statements semi: [2, always] # warn if function params are reassigned no-param-reassign: - 1 - props: false # enforce type equality eqeqeq: [2] no-return-assign: [2, always] no-undef-init: [1] no-lonely-if: [2] no-use-before-define: [2, nofunc] # enforce constructor functions are uppercased new-cap: - 2 - newIsCap: true capIsNew: false env: # allow node env globals node: true # allow commonjs module definition globals (e.g. require, module.exports) commonjs: true mocha: true globals: Status API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Contact Help