Skip to content
#

ESLint

eslint logo

ESLint is an extensible static-analysis tool for JavaScript and related languages that helps catch errors before they break something in production.

Here are 5,107 public repositories matching this topic...

Zamiell
Zamiell commented Apr 7, 2020
  1. The users of this style guide will probably expect that all of the rules that it prescribes will be enforced by eslint. However, this is not the case - there is a secret, non-documented segmentation where some rules are enforced and others are not, because they would be "too noisy on a legacy codebase". An example of a problematic rule like this is covered in issue #2020. I propose that all of
goldbergyoni
goldbergyoni commented Jan 26, 2020

Given the immense popularity of Docker and the need to harden it different per platform (see ideas below) - we'd like to start writing a Docker best practices section.

You're welcome to contribute ideas and write best practices - writing and brainstorming will people is an amazing way to deepen your Docker understanding.

At first, we want to collect ideas for best practices, solidify a list

electron-react-boilerplate
markerikson
markerikson commented Nov 18, 2019

Hi, I'm a Redux maintainer. I'd like to offer a couple suggestions.

Problem

The current Redux example implementation shows use of reducers with "hand-written" immutable update logic, and has a somewhat complex store configuration. In addition, the project currently uses a "folder-by-type" folder structure.

Proposed Solution

The project should switch to using the official [Redux

iiroj
iiroj commented Dec 16, 2019

The README.md contains a lot of advanced config examples for functional tasks. We should probably add some basic ones as well:

  1. '*.js': ['eslint'] <- fail when eslint finds issues issues
  2. '*.js': ['eslint --fix', 'git add'] <- automatically fix eslint issues, and add to commit
  3. '*.js': ['prettier --list-different'] <- fail when prettier finds issues
  4. `'*.js': ['prettier --write
ckarmy
ckarmy commented Jan 4, 2019

I download the ZIP and run npm install but then I run expo start and I get:

[11:17:11] Starting project at /Volumes/Sata/repositories/snowflake copy
[11:17:12] Expo DevTools is running at http://localhost:19002
[11:17:12] Error: Missing app.json. See https://docs.expo.io/
[11:17:12] No Expo configuration found. Are you sure this is a project directory

How I solve this?

Th

mtjn
mtjn commented Apr 24, 2020
/* example.ts */

// error: Parsing error: Unexpeced token, expected ":"
interface example {
  readonly id: string;
//         ^
}
/* .eslintrc */
{
  "root": true,
  "env": {
    "es6": true,
    "node": true,
    "jest/globals": true
  },
  "parser": "babel-eslint",
  "extends": [
    "eslint:recommended",
    "plugin:prettier/recommended",
    "plug
ChristofferSkog21st
ChristofferSkog21st commented Mar 9, 2019

The features section in the docs states that nodemon is available in the project, when it's clearly not. It's not added as a dependency or as a command in the project. Maybe remove this from the docs or actually add nodemon?

lsp-mode
yyoncho
yyoncho commented Feb 6, 2020

Vscode handles > in tags by calling html/tag and eventually closing the tag.

Example request:

[Trace - 7:58:44 AM] Sending request 'html/tag - (138)'. Params: { "textDocument": { "uri": "file:///home/kyoncho/Sources/lsp-docker/demo-projects/Scala/hello/src/test/scala/example/foo.html" }, "position": { "line": 0, "character": 6 } }

[Trace - 7:58:44 AM] Received response 'html/tag 
amilajack
amilajack commented May 3, 2020

Donations will ensure the following:

  • 🔨 Long term maintenance of the project
  • 🛣 Progress on the roadmap
  • 🐛 Quick responses to bug reports and help requests

Bug Bounties

I'm currently too busy to actively maintain this project so I'll be bounties on issues with issuehunt. Donations will be used t

Wayne529
Wayne529 commented Jan 21, 2020

What version of this package are you using?
"eslint-config-standard": "^14.1.0"

What operating system, Node.js, and npm version?
node.js is 10.18.0 and npm version is 6.13.4

What happened?
when i use this npm with eslint, it get something wrong to notice me the errors in the javascript file of my project.like this error:
1:1 error Definition for rule 'no-async-promise-ex

nas5w
nas5w commented Feb 25, 2019

Some folks have noted it would be beneficial to have this repository translated to other languages. One contributor has already volunteered to translate the repository into Russian (woohoo!).

If anyone has the time and drive to help out with other languages, please reply below with the proposed language and I'll give you the "go-ahead"... just to make sure two people don't create translations i

rushstack
mscharley
mscharley commented Apr 23, 2020

Is this a feature or a bug?

  • Feature
  • Bug

Please describe the actual behavior.

Currently rush uses a fixed commit message during the rush version --bump workflow:

https://github.com/microsoft/rushstack/blob/626c8efae811650d9eb778386f31ffb393b43468/apps/rush-lib/src/cli/actions/VersionAction.ts#L215

**If the issue is a bug, how can we reproduce it? Please provide

ibarapascal
ibarapascal commented Apr 17, 2020

Describe the bug

CRA with Eslint setting, finding lint error in TSX files:

Definition for rules was not found.

Definition for rule '@typescript-eslint/class-literal-property-style' was not found.eslint(@typescript-eslint/class-literal-property-style)
Definition for rule '@typescript-eslint/method-signature-style' was not found.eslint(@typescript-eslint/method-signatu
static-site-boilerplate
Andrew1431
Andrew1431 commented Apr 9, 2020

Describe the bug
In your documentation, it clearly states:

You may add as many html pages as you’d like to the root level directory, they will automatically be copied and minified into the dist/ folder upon building your site.

So I don't know if this a bug report or a feature request:

I want users to be able to visit website.com/survey instead of survey.html so I've put a

Created by Nicholas C. Zakas

Released June 2013

Latest release 13 days ago

Repository
eslint/eslint
Website
eslint.org

Related Topics

javascript linter linting
You can’t perform that action at this time.