How to use the standard/options.js function in standard

To help you get started, we’ve selected a few standard examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zooniverse / front-end-monorepo / packages / tools-standard / options.js View on Github external
var stdOpts = require('standard/options.js')
var stdVersion = require('standard/package.json').version

var pkg = require('./package.json')

var opts = Object.assign({}, stdOpts, {
  bugs: pkg.bugs.url,
  cmd: 'zoo-standard',
  eslintConfig: {
    baseConfig: require('standard/eslintrc.json'),
    parser: 'babel-eslint',
    envs: [
      'mocha'
    ],
    extends: [
      "plugin:jsx-a11y/recommended"
    ],
    globals: [
      'expect'
    ],
    plugins: [
      'jsx-a11y'

standard

JavaScript Standard Style

MIT
Latest version published 2 months ago

Package Health Score

76 / 100
Full package analysis