Commit graph

19 commits

Author SHA1 Message Date
Mike Greiling
b37923235b ensure eslint recognizes es2015 dynamic import() syntax 2017-06-28 13:04:34 -05:00
Mike Greiling
8892e66c4e update linter to catch uses of commonjs syntax 2017-05-18 15:05:41 -05:00
Kushal Pandya
d586b6cced Add ES lint support to identify poorly written Promises 2017-04-20 11:11:51 +00:00
Mike Greiling
8050d835d4 add eslint support to vue files 2017-04-09 15:22:53 -05:00
winniehell
4cd2ab5254 Adjust ESLint rule for file names 2017-03-05 20:42:49 +01:00
Mike Greiling
34b8cdf87c enable eslint to resolve webpack modules according to webpack.config.js 2017-02-14 01:35:27 -06:00
Mike Greiling
69e4072f89 Merge branch 'master' into go-go-gadget-webpack
* master: (389 commits)
  Document "No gems fetched from git repositories" policy [ci skip]
  Typos
  Small gramatical tweaks
  Typos
  Added PHP & NPM doc
  Use `:empty_project` where possible in request specs
  Add caching of droplab ajax requests
  Use `:empty_project` where possible in model specs
  Revert 3f17f29a
  Remove unused js response from refs controller
  Add MR id to changelog entry
  fixed small mini pipeline graph line glitch
  Prevent form to be submitted twice
  Fix Error 500 when repositories contain annotated tags pointing to blobs
  Fix /explore sorting (trending)
  Simplify wording in "adding an image" docs
  Remove "official merge window" from CONTRIBUTING.md [ci skip]
  Update repository check documentation
  Fixed flexbox and wrap issues
  Update two_factor_authentication.md
  ...
2017-01-27 19:33:58 -06:00
Bryce Johnson
f0b7e5708c Flag multiple empty lines in eslint, fix offenses. 2017-01-24 16:48:06 -05:00
Mike Greiling
fe964cc235 migrate all javascript asset bundles and require syntax 2017-01-10 12:30:38 -06:00
Jacopo
8235f83015 Fixed Wrong Tab Selected When Loggin Fails And Multiple Login Tabs Exists
When ldap is enabled and use "Standard" authentication method, if authentication fails
the correct tab remain selected.
This is done by saving into localStorage when the active tab changes and by always selecting that tab when
the page is loaded.
2016-12-02 10:19:31 +01:00
Luke "Jared" Bennett
c145413d1a
Remove JSX/React eslint plugins.
Change airbnb eslint config package to `eslint-config-airbnb-base` and update plugins.

Change `airbnb` to `airbnb-base` for .eslintrc `extends` value.

Added changelog entry

Made sure all plugins and envs are set

Corrected new failing specs
2016-11-29 16:15:47 +00:00
Mike Greiling
a571a61f0a keep json alphabetized 2016-11-22 12:56:03 -06:00
Mike Greiling
46b725aba6 add "gon" to list of expected globals 2016-11-22 12:19:51 -06:00
Mike Greiling
bd0017c6d4 clean up globals exemptions within .eslintrc 2016-11-22 12:19:51 -06:00
Alfredo Sumaran
1a7cc190b7 Make linters happy 2016-11-21 13:57:11 -05:00
Alfredo Sumaran
10282283b0 Cycle analytics second iteration
- Vue app has been completely rewritten
- New components
- Basic CSS
2016-11-21 13:49:18 -05:00
Alfredo Sumaran
18dd4cf54b Update match-regex to fix filename convention
This allows us to pass .js.es6 files as valid filenames;
2016-11-03 16:15:10 -05:00
winniehell
1ad62d9684 Check that JavaScript file names match convention (!7238) 2016-11-02 11:47:38 +01:00
winniehell
e5a0d41db0 add ESLint
ESLint config: https://github.com/airbnb/javascript
2016-10-26 10:00:55 +02:00