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 4,520 public repositories matching this topic...

feross
feross commented Aug 18, 2019

https://eslint.org/docs/rules/func-call-spacing

When calling a function, developers may insert optional whitespace between the function’s name and the parentheses that invoke it.

Option: "never" (default) disallows space between the function name and the opening parenthesis.

Examples of incorrect code for this rule with the default "never" option:

/*eslint func-call-spacin
ayush000
ayush000 commented Mar 8, 2017

feature suggestion

Hey,

I suggest to use a standard documentation format like JSDoc to document all functions and APIs. Otherwise, you can use long strings as name for test cases, instead of just writing the name of the function being tested. This will improve readability of code and ensure better practices by people using it. Thanks.

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

ai
ai commented May 24, 2017

We loved caniuse-db, but it uses 7 MB and contains many irrelevant data.

This is why @ben-eb created caniuse-lite. It is just a copy of latest caniuse-db (he wrote autorelease script) with less data and better compression. Only 1 MB.

Autoprefixer and Browserslist moved to caniuse-lite. So let’s use it here too. It is very easy, API is the sam

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 
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
xirzec
xirzec commented Feb 5, 2020

Is this a feature or a bug?

  • Feature
  • Bug

Please describe the actual behavior.

Today if a new dependency is added to a rush project with rush add (e.g. rush add -p foo) then it will be appended to the end of package.json.

This is not true if a dep is updated to a newer version (e.g. rush add -p foo@~2.0.0 -m) which seems to alphabetize all dependencies cor

Created by Nicholas C. Zakas

Released June 2013

Latest release 2 months ago

Repository
eslint/eslint
Website
eslint.org

Related Topics

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