Skip to content

This package provides Deloitte Digital's code standards as an ESLint extensible config

License

Notifications You must be signed in to change notification settings

DeloitteAU/eslint-config-deloitte

Deloitte Digital

Deloitte Digital's ESLint Config Build Status

These packages provides Deloitte Digital's code standards as an ESLint extensible config.

Please note: If you are using Types such as Flow or experimental features not supported in ESLint itself yet such as decorators. Please additionally configure the babel-parser.

Installation for ECMAScript 6+ projects

npm install --save-dev @deloitte-digital-au/eslint-config

Usage

Add "extends": ["@deloitte-digital-au/eslint-config"] to your .eslintrc.js file.

Example:

module.exports = {
	extends: [
		'@deloitte-digital-au/eslint-config',
	],
};

Installation for ECMAScript 6+ and React projects

npm install --save-dev @deloitte-digital-au/eslint-config-react

Usage

Add "extends": ["@deloitte-digital-au/eslint-config-react"] to your .eslintrc.js file.

Example:

module.exports = {
	extends: [
		'@deloitte-digital-au/eslint-config-react',
	],
};

Installation for legacy ES5 projects

npm install --save-dev @deloitte-digital-au/eslint-config

Usage

Add "extends": ["@deloitte-digital-au/eslint-config/legacy"] to your .eslintrc.js file.

Example:

module.exports = {
	extends: [
		'@deloitte-digital-au/eslint-config/legacy',
	],
};

Babel Parser Installation

If you are using Types such as Flow or experimental features not supported in ESLint itself yet such as decorators.

Add "parser": "babel-eslint" to your .eslintrc.js file. Then npm install babel-eslint --save-dev

Read more about configuring this package here.

Who is Deloitte Digital?

Part Business. Part Creative. Part Technology. One hundred per cent digital.

Pioneered in Australia, Deloitte Digital is committed to helping clients unlock the business value of emerging technologies. We provide clients with a full suite of digital services, covering digital strategy, user experience, content, creative, engineering and implementation across mobile, web and social media channels.

http://www.deloittedigital.com/au

LICENSE (BSD-3-Clause)

View License

About

This package provides Deloitte Digital's code standards as an ESLint extensible config

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published