xo
Here are 93 public repositories matching this topic...
-
Updated
May 16, 2020 - JavaScript
It's not recommended to use document.cookie directly as it's easy to get the string wrong. See sindresorhus/eslint-plugin-unicorn#299 and https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie Instead, the user should use a cookie library.
I guess we should only prevent setting document.cookie? There might be valid reasons to read it?
-
Updated
Jun 13, 2020 - JavaScript
-
Updated
May 31, 2020 - Shell
-
Updated
Apr 30, 2020 - JavaScript
-
Updated
Jun 10, 2020 - JavaScript
-
Updated
Jun 10, 2020 - JavaScript
The @typescript-eslint/eslint-plugin provides a recommended config which turn off some Eslint rules that conflicts or doesn't work well with TypeScript.
For example in a types.d.ts file with the following code:
type MyType = {};
export {MyType};
t
setup xo and react
Using the following config but xo doesn't play nicely with react closing syntax:
I'm guessing I don't require an .eslint config to make this work:
{
"name": "react-starter",
"version": "1.0.0",
"description": "Highly opinionated starter web application for react client side projects",
"main": "index.js",
"scripts": {
"start": "parcel index.html -p 4444",
"build":
Problem
If the package.json contains some syntax errors atom-lint task never ends and after a while it makes atom unresponsive.
The only solution to allow the task to complete a
-
Updated
Mar 21, 2019 - JavaScript
-
Updated
Jun 14, 2020 - Python
-
Updated
Feb 13, 2018 - Vim script
-
Updated
Jun 3, 2020 - JavaScript
-
Updated
Mar 25, 2020 - JavaScript
-
Updated
Jun 3, 2020 - JavaScript
-
Updated
Sep 27, 2019 - JavaScript
-
Updated
Feb 13, 2020 - JavaScript
-
Updated
Jun 13, 2020 - JavaScript
-
Updated
Nov 22, 2019 - Shell
-
Updated
Dec 28, 2019 - CSS
Improve this page
Add a description, image, and links to the xo topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the xo topic, visit your repo's landing page and select "manage topics."
Since ESLint doesn't let us disable auto-fix for individual rules, and the
capitalized-commentsrule, while useful, can be annoying in editors when "auto-fix on save" is enabled.SamVerschueren/vscode-linter-xo#78 (comment)