2.0.4 • Published 4 years ago
@xoi/eslint-config-core v2.0.4
@xoi/eslint-config-core
An opinionated, framework-agnostic ESLint config
Inspired by Airbnb's JavaScript style guide and Formidable Labs's ESLint config.
Installation
This module is distributed via npm
which is bundled with node
and should be installed as one of your project's devDependencies
:
yarn add -D @xoi/eslint-config-core
This package has peer dependencies. Please make sure you have those installed as well.
yarn add -D babel-eslint@^10.0.2 \
eslint@^6.1.0 \
eslint-plugin-import@^2.18.2 \
Usage
.eslintrc.*
module.exports = {
extends: '@xoi/eslint-config-core',
rules: { /* overrides and additional rules */ }
}
Editor Integration
ESLint can be integrated with various editors. See the Integrations page in the ESLint documentation for details
Contributing
Open an issue or create a pull request