cats-oss / eslint-config-abema

This project is presets of eslint configurations which we used in our some internal projects.
MIT License
4 stars 1 forks source link
eslint eslint-config

eslint-config-abema

CircleCI

NOTE: By some reasons, core product lines including AbemaTV's web application have reduced the dependency for this. See #247

What is This?

Motivation

This project aims these things:

Basic Principles for Settings

To achieve our motivation,

How To Use

1. install to your project

2. Import via extends fields in your .eslintrc.js

'use strict';

module.exports = {
    'extends': [
        // for eslint's builtin rules.
        'eslint-config-abema/config/eslintrc_core.js',

        // for eslint-plugin-import
        'eslint-config-abema/config/eslintrc_import.js',

        // for eslint-plugin-node
        'eslint-config-abema/config/eslintrc_node.js',

        // for eslint-plugin-react
        'eslint-config-abema/config/eslintrc_react.js',

        // for eslint-plugin-react-hooks
        'eslint-config-abema/config/eslintrc_react_hooks.js',

        // for @typescript-eslint/eslint-plugin. EXPERIMENTAL
        'eslint-config-abema/config/eslintrc_typescript.js',

        // If you'd like to use eslint-plugin-react with TypeScript, you should load this instead.
        'eslint-config-abema/config/eslintrc_typescript_react.js',
    ]
};

3. Set your constomized settings.

Examples

Dependencies

About This Project

Why did you fork this project from the original?

Ideally, according to common culture of open source software, we should contribute a code to the upstream (original) source code repository instead of forking the project. It's not nice effort for open source project community that creating a forked project recklessly and it wastes the limited humanity resource by re-implement a similar change in each of projects.

However, we needed to maintain this by our domain specific motivations. It's a bit hard to merge them to the upstream side by the difference of project goals and the difference of requirement of maintainers.

Therefore, we decided to fork this project from the original one. We thank to their effort to develop and maintain the original project.

License