Giter Site home page Giter Site logo

ryanzim / eslint-config-problems Goto Github PK

View Code? Open in Web Editor NEW
68.0 68.0 3.0 38 KB

An eslint config that catches problems in your code, without checking style. For use with prettier.

License: ISC License

JavaScript 100.00%
eslint eslint-config linter-config prettier

eslint-config-problems's People

Contributors

renovate[bot] avatar ryanzim avatar

Stargazers

 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eslint-config-problems's Issues

Missing node8 subconfig

I installed the new 3.0 version and try to run eslint. It says that it cannot find module eslint-config-problems/node8 when using the node10 subconfig.

The node10.js file references the removed node8 subconfig:

extends: 'problems/node8',

How should I solve this?

Rule: strict

Hi,

I see that the rule strict is enabled by your config. I find that strange, as writing "use strict" in all my source files when writing a module in 2019 is unnecessary, especially that Module code is always strict mode code.

10.2.1 Strict Mode Code
[...]

  • Module code is always strict mode code.

[...]

Shouldn't this rule be opt-in when writing code for the browser instead of opt-out for node.js? I mean, most of the time we use some kind of bundler for browser code which puts the "use strict" there anyway.

Dependency Dashboard

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

Open

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

Detected dependencies

npm
package.json
  • doctoc ^2.0.0
  • eslint ~8.38.0
  • lodash.defaultsdeep ^4.6.0
  • prettier ^3.0.0
  • eslint ^8.27.0

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

`async`/`await` support?

I love the idea behind this config, but it's complaining about async / await in my Node 8 code.

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.