5.0.8 • Published 1 year ago

spire-config-default v5.0.8

Weekly downloads
5
License
MIT
Repository
github
Last release
1 year ago

spire-config-default

Default config preset for Spire.

Quick Start

Note: this module is shipped by default with Spire. Only install it directly if you want to build your preset on top of it.

  1. Install spire-config-default:
# yarn
yarn add spire-config-default

# npm
npm install --save spire-config-default
  1. Extend it in your config or preset:
module.exports = () => ({
  extends: [['spire-config-default', options]],
});

Plugins

This preset includes next plugins with their default options:

Options

This preset allows to disable or override default options for plugins. To do so, pass an option object with desired plugin keys (clean, doctoc, eslint, jest, lint-staged or prettier). Setting option to false will disable that plugin.

module.exports = () => ({
  extends: [
    [
      'spire-config-default',
      {
        // Disable `spire-plugin-doctoc`
        doctoc: false,
        // Override `spire-plugin-jest`'s config to `jest-preset-acme`
        jest: 'jest-preset-acme',
        // Override `spire-plugin-eslint`'s config and disallow user-provided one
        eslint: {
          config: 'eslint-config-acme',
          allowCustomConfig: false,
        },
      },
    ],
  ],
});

Refer to individual plugin docs for list of available options.

License

MIT © ResearchGate

5.0.6

1 year ago

5.0.5

1 year ago

5.0.8

1 year ago

5.0.7

1 year ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.1.2

3 years ago

3.2.3

3 years ago

4.1.0

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.2.2

3 years ago

3.2.1

3 years ago

3.1.0

4 years ago

3.0.2

4 years ago

3.0.0

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.2

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.8.4-next.48

4 years ago

1.8.4-next.47

4 years ago

1.8.4-next.46

4 years ago

1.8.4-next.45

4 years ago

1.8.4-next.42

4 years ago

1.8.4-next.33

4 years ago

1.8.4-next.27

4 years ago

1.8.3

4 years ago

1.8.2

4 years ago

1.8.0

4 years ago

1.7.3

5 years ago

1.7.2

5 years ago

1.7.2-next.1

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago