Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
renovate[bot] d6ba99312c
Update dependency prettier to v2 (#6323)
* Update dependency prettier to v2
* Automatic prettier fixes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Armen Zambrano G <armenzg@mozilla.com>
2020-04-30 15:40:38 -04:00
Brendan Dahl b94e1d9574 Bug 1601725 - Add product/component column to intermittent-failures view. (#5722) 2019-12-09 09:57:06 -08:00
Armen Zambrano a45bb487d7
Upgrade to Neutrino 9 RC4 (#5454)
* Upgrade to Neutrino 9 RC4
* yarn-deduplicate
2019-10-08 10:13:28 -04:00
Sarah Clements 59737af771
Bug 1539232 - Switch Perfherder to react-router (#5379)
Switch Perfherder to react-router
Use top-level of app as a cache for projects, frameworks, alerts data and compare data
Cleanup files and move constants to dedicated perfherder file
Remove angular-related libraries and bump up the neutrino entry and asset limits
2019-09-25 15:15:37 -07:00
Armen Zambrano G 90c3d98cf3 Disable no-unused-vars for few lines 2019-08-21 16:16:45 -04:00
Sarah Clements 5723387091 Bug 1518073 - add IFV proptypes per new eslint errors 2019-01-08 07:59:55 +00:00
Cameron Dawson 2885a9a1e3
Bug 1480166 - Use class fields to avoid bind() calls in the rest (#4370) 2018-12-13 10:31:30 -08:00
Ed Morley 65b7f4ab45
Bug 1507172 - Use Prettier for formatting JS/JSX (#4276)
Since it's more reliable (and strict) at code formatting than ESLint.
We use it via an ESLint plugin, and so disable the style-related AirBnB
preset rules, leaving the AirBnB guide to handle only correctness and
best practices rules.

It's highly encouraged to use an IDE integration or Git commit hook
to run Prettier (or `yarn lint --fix`) automatically. See:
* https://prettier.io/docs/en/editors.html
* https://prettier.io/docs/en/precommit.html

We may consider enabling a git commit hook out of the box (using eg
Husky) in the future, however they have previously been known to
interfere with partial-staging workflows, so would need to test the
fixes they have made for them thoroughly first.

In future PRs we may also want to start formatting JSON/CSS/Markdown
using Prettier too.
2018-11-16 08:28:34 +00:00
Ed Morley 4db0cfa973
Bug 1507406 - ESLint: Enforce more strict import style (#4279)
Imports must now be grouped like so (with newlines between each):

```
// "external" modules
import _ from 'lodash';
import chalk from 'chalk';

// modules from a "parent" directory
import foo from '../foo';
import qux from '../../foo/qux';

// "sibling" modules from the same or a sibling's directory
import bar from './bar';
import baz from './bar/baz';
```

The `import/order` rule has auto-fix support, so any errors can be
resolved using `yarn lint --fix`.

See:
https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md
2018-11-16 08:07:49 +00:00
Sarah Clements c6502e5bff Bug 1465589 - Convert Perfherder services to functions (#4243) 2018-11-09 16:02:07 +00:00
Sarah Clements f1aab1596b
Bug 1495429 - change IFV table sorting (#4178)
Remove API pagination and serve all results to client so table
sorting is completely client-side.
2018-10-29 12:18:37 -07:00
Sarah Clements 8957b9699a
Change pageSize query param back to page_size (#4134) 2018-10-12 10:08:40 -07:00
Sarah Clements 3beca08c10
Bug 1483419 - remove componentWillReceiveProps in IFV (#4130) 2018-10-11 12:48:33 -07:00
Sarah Clements 51d7e684df
Bug 1485226 - remove redux from IFV (#4107) 2018-10-09 12:38:14 -07:00