Git Product home page Git Product logo

eslint-config-connehito's Introduction

eslint-config-connehito

ESLint shareable config for Connehito

⚠️ CAUTION: This repository is archived!

This repository had not been maintained for about two years. The engineers at Connehito discussed and decided to archive this repository.

Ref: #108

How to remove @connehito/eslint-config

0. Condition

The file with the following contents is located in the current directory.

// .eslintrc.js
module.exports = {
  extends: ['@connehito'],
  rules: {
    'import/no-unresolved': 'off',
  },
}

1. Merge config file

$ curl "https://raw.githubusercontent.com/Connehito/eslint-config-connehito/main/index.js" >> .eslintrc.js
// .eslintrc.js

       'import/no-unresolved': 'off',
    },
  }
+ module.exports = {
+   root: true,
+   env: {
+     es6: true,
+   ...
+   ],
+ }

2. Remove extends: ['@connehito']

// .eslintrc.js

  module.exports = {
-   extends: ['@connehito'],
    rules: {
      'import/no-unresolved': 'off',
    },

3. Merge the config file manually

// .eslintrc.js

-  module.exports = {
-   rules: {
-     'import/no-unresolved': 'off',
-   },
- }
  module.exports = {
    root: true,
    env: {
 // ...
          singleQuote: true,
        },
      ],
+     'import/no-unresolved': 'off',
    },
    overrides: [
      {

4. Remove @connehito/eslint-config

$ npm uninstall @connehito/eslint-config
# or
$ yarn remove @connehito/eslint-config
// package.json

  ...
-     "@connehito/eslint-config": "2.2.0",
  ...

Ref: #107

Installation

v2 (For TypeScript project):

$ yarn add --dev \
  eslint \
  eslint-config-prettier \
  eslint-plugin-import \
  eslint-plugin-jest \
  eslint-plugin-prettier \
  eslint-plugin-react \
  prettier \
  typescript \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  @connehito/eslint-config

v1 (For Flowtype project):

$ yarn add --dev \
  babel-eslint \
  eslint \
  eslint-config-prettier \
  eslint-plugin-flowtype \
  eslint-plugin-import \
  eslint-plugin-prettier \
  eslint-plugin-react \
  prettier \
  @connehito/eslint-config@^1.4.1

Usage

Add this to your .eslintrc.js file:

module.exports = {
  extends: ['@connehito']
}

License

MIT © Connehito

eslint-config-connehito's People

Contributors

dachi023 avatar fortkle avatar greenkeeper[bot] avatar mryhryki avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kurosame fortkle

eslint-config-connehito's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Update dependency eslint to v8
  • Update dependency eslint-plugin-jest to v27
  • Update dependency eslint-plugin-prettier to v4
  • Update dependency renovate to v34
  • Update typescript-eslint monorepo to v5 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/release.yml
  • actions/checkout v2
  • actions/setup-node v2
  • actions/checkout v2
  • actions/setup-node v2
npm
package.json
  • @typescript-eslint/eslint-plugin 4.20.0
  • @typescript-eslint/parser 4.20.0
  • eslint 7.23.0
  • eslint-config-prettier 8.1.0
  • eslint-plugin-import 2.22.1
  • eslint-plugin-jest 24.3.2
  • eslint-plugin-prettier 3.3.1
  • eslint-plugin-react 7.23.1
  • prettier 2.2.1
  • renovate 24.98.0
  • typescript 4.2.3

  • Check this box to trigger a request for Renovate to run again on this repository

An in-range update of eslint-plugin-flowtype is breaking the build 🚨

The devDependency eslint-plugin-flowtype was updated from 3.9.0 to 3.9.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-flowtype is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes for v3.9.1

3.9.1 (2019-05-23)

Bug Fixes

Commits

The new version differs by 1 commits.

  • 712d840 fix: requireReadOnlyReactProps (#406)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

MEMO: How to remove @connehito/eslint-config

What is this?

This is a way to remove this ESLint config package if you want to remove it.

How to remove

0. Condition

The file with the following contents is located in the current directory.

// .eslintrc.js
module.exports = {
  extends: ['@connehito'],
  rules: {
    'import/no-unresolved': 'off',
  },
}

1. Merge config file

$ curl "https://raw.githubusercontent.com/Connehito/eslint-config-connehito/main/index.js" >> .eslintrc.js
// .eslintrc.js

       'import/no-unresolved': 'off',
    },
  }
+ module.exports = {
+   root: true,
+   env: {
+     es6: true,
+   ...
+   ],
+ }

2. Remove extends: ['@connehito']

// .eslintrc.js

  module.exports = {
-   extends: ['@connehito'],
    rules: {
      'import/no-unresolved': 'off',
    },

3. Merge the config file manually

// .eslintrc.js

-  module.exports = {
-   rules: {
-     'import/no-unresolved': 'off',
-   },
- }
  module.exports = {
    root: true,
    env: {
 // ...
          singleQuote: true,
        },
      ],
+     'import/no-unresolved': 'off',
    },
    overrides: [
      {

4. Remove @connehito/eslint-config

$ npm uninstall @connehito/eslint-config
# or
$ yarn remove @connehito/eslint-config
// package.json

  ...
-     "@connehito/eslint-config": "2.2.0",
  ...

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

eslint-config-prettier (>= 8.0.0) is not working

$ yarn run eslint src/

Oops! Something went wrong! :(

ESLint: 7.22.0

Error: Cannot read config file: /Users/.../node_modules/eslint-config-prettier/@typescript-eslint.js
Error: "prettier/@typescript-eslint" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21

Archive this repository

Why?

This repository had not been maintained for about two years.
The engineers at Connehito discussed and decided to archive this repository.

TODO

  • Update README
    • Add "How to Remove" section
  • Archive this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.