This package has been deprecated

Author message:

This package has moved to @royalnavy/eslint-config-react.

@defencedigital/eslint-config-react

3.13.16 • Public • Published

ESLint Config React

This package provides the Defence Digital ESLint and Prettier configuration.

ESLint

ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

Prettier

Prettier is an opinionated code formatter. It removes original styling and ensures that all outputted code conforms to a consistent style.

Installation

The Defence Digital ESLint config is available as an NPM package.

// npm
npm install @defencedigital/eslint-config-react

// yarn
yarn add @defencedigital/eslint-config-react

In the root of your project create the following files:

.eslintrc.js

module.exports = {
  extends: ['@defencedigital/eslint-config-react'],
}

.prettier.config.js

module.exports = require('@defencedigital/eslint-config-react/prettier.config.js')

Questions

The Design System is maintained by a team at the Defence Digital. If you want to know more about the Defence Digital Design System, please email the Design System Team.

Documentation

The documentation website contains all the information you need to build your application using the Defence Digital Design System.

Contributing

The contributing guide resource presents information about our development process.

Changelog

If you have recently updated then read the release notes

Roadmap

The Design System Roadmap Board contains the work that has been prioritised for the next 12 months.

License

The Defence Digital Design System is licensed under the Apache License 2.0.

Readme

Keywords

none

Package Sidebar

Install

npm i @defencedigital/eslint-config-react

Weekly Downloads

99

Version

3.13.16

License

Apache-2.0

Unpacked Size

5.34 kB

Total Files

4

Last publish

Collaborators

  • gbennett-mod
  • m7kvqbe1
  • rainthief