Synopsis
Recommended standards for coding in the JavaScript programming language represented as a set of ESLint configurations.
Motivation
These configurations represent a set of standards that when followed are intended to increase the consistency, readability and correctness of software written in the JavaScript language.
Installation
npm install --save-dev @ethereal-soft/eslint-config-ethereal
Usage
This package exports the following ESLint configurations.
- @ethereal-soft/eslint-config-ethereal - default config, ECMAScript 5
- @ethereal-soft/eslint-config-ethereal/es2017 - ECMAScript 2017
- @ethereal-soft/eslint-config-ethereal/babel-es2017 - Babel ECMAScript 2017
- @ethereal-soft/eslint-config-ethereal/babel-stage-2 - Babel ECMAScript Stage 2
- @ethereal-soft/eslint-config-ethereal/nodejs - Node.js
- @ethereal-soft/eslint-config-ethereal/react - React.js/JSX
- @ethereal-soft/eslint-config-ethereal/flowtype - Flow
- @ethereal-soft/eslint-config-ethereal/jsdoc - JSDoc
ethereal
ESLint rules for ECMAScript 5.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal"]
to your.eslintrc.json
config.
ethereal/es2017
ESLint rules for ECMAScript 2017.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal/es2017"]
to your.eslintrc.json
config.
ethereal/babel-es2017
ESLint rules for Babel ECMAScript 2017.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal/babel-es2017"]
to your.eslintrc.json
config.
ethereal/babel-stage-2
ESLint rules for Babel ECMAScript Stage 2.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal/babel-stage-2"]
to your.eslintrc.json
config.
ethereal/nodejs
ESLint rules for NodeJS.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal/nodejs"]
to your.eslintrc.json
config.
ethereal/react
ESLint rules for ReactJS.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal/react"]
to your.eslintrc.json
config.
ethereal/flowtype
ESLint rules for Flow.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal/flowtype"]
to your.eslintrc.json
config.
ethereal/jsdoc
ESLint rules for JSDoc comments.
Configuration:
- add
"extends": ["@ethereal-soft/eslint-config-ethereal/jsdoc"]
to your.eslintrc.json
config.
Contributors
Stephen M. Senesac stephen.senesac@ethereal-soft.com
License
MIT