Commit graph

20 commits

Author SHA1 Message Date
Eric Schultz
84ec047111 Add linting for react hooks 2020-11-10 16:52:26 -06:00
Eric Schultz
093852b9a5 Correct location of rules for eslint 2020-10-23 15:08:04 -05:00
Eric Schultz
1a87c097ab Convert from comma-dangle to @typescript-eslint/comma-dangle in eslint 2020-10-23 15:08:04 -05:00
Eric Schultz
edcb2613f1 Add @typescript-eslint/member-delimiter-style to eslint 2020-10-23 15:08:04 -05:00
Eric Schultz
659c2eecc2 Add @typescript-eslint/member-ordering to eslint 2020-10-23 15:08:04 -05:00
Eric Schultz
eec0a23eaf Stories exports no longer fire an eslint warning if they're untyped 2020-10-21 15:00:06 -05:00
Eric Schultz
e491e48374 Allow TS args starting with _ to not be used and pass eslint 2020-10-20 20:30:01 -05:00
Eric Schultz
0f0a0d2063 Add comma-dangle requirement for eslint 2020-09-30 13:23:39 -05:00
Eric
53e64234ce Add react plugin to TSX files 2020-06-30 15:04:17 -05:00
Eric
415e3b80cc Add additional react eslint checks. Illustrate its use on a single file. 2020-06-29 17:20:56 -05:00
Eric
eb4385ec17 Setup linting of javascript used by node based build tools (eslint, babel, webpack, etc) 2020-06-29 16:48:17 -05:00
Eric
965c6dc23a lint .eslintrc.js 2020-06-27 15:09:03 -05:00
Eric
48f2303216 Enforce ts tab indents for accessibility 2020-06-27 15:09:03 -05:00
Eric
e6dda7b88b Add no-trailing-spaces to eslint 2020-06-27 15:09:03 -05:00
Eric
f928072c12 Add jest plugin to eslint 2020-06-27 15:09:03 -05:00
Eric
dbfb2f1b68 Require semicolons via eslint 2020-06-27 15:09:03 -05:00
Eric
394f871a37 Change the eslintrc.js file for our Typescript work 2020-06-27 15:09:03 -05:00
Eric
e3b25f8486 Shorten license definition 2020-06-15 10:26:57 -05:00
Bradley M. Kuhn
fc77ee76d6 Relicense Javascript code in accordance with project's new license
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

The Additional Permission is designed to permit publicly distributed
Javascript code to be relicensed under LGPL-3.0-or-later, but not server-side
Javascript code.  As such, we've relicensed here static Javscript files under
LGPL-3.0-or-later, and those that run as part of build and/or server side
under AGPL-3.0-or-later.

Note that in future, Javascript files may be updated to be stronger copyleft
license with the Additional Permission, particularly if they adapted to run
on server side and/or turned into templates.  Of course, we'd seek public
discussion with the contributor community about such changes.

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00
Eric Schultz
08b383de62 Initial commit. Previous history maintained by CommitChange 2018-03-25 13:30:42 -04:00