Bugzilla – Attachment 94966 Details for
Bug 23834
Add default ESLint configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23834: Add default ESLint configuration
Bug-23834-Add-default-ESLint-configuration.patch (text/plain), 1.10 KB, created by
Katrin Fischer
on 2019-11-02 13:57:22 UTC
(
hide
)
Description:
Bug 23834: Add default ESLint configuration
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-11-02 13:57:22 UTC
Size:
1.10 KB
patch
obsolete
>From d98d4b899223d2cc49dde8bd3c5663a02fd60fa9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 17 Oct 2019 13:46:42 +0000 >Subject: [PATCH] Bug 23834: Add default ESLint configuration > >This patch adds a default ESLint configuration for use when editing >JavaScript, as recommended in the coding guidelines: > >https://wiki.koha-community.org/wiki/Coding_Guidelines#JS8:_Follow_guidelines_set_by_ESLint > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .eslintrc.json | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 .eslintrc.json > >diff --git a/.eslintrc.json b/.eslintrc.json >new file mode 100644 >index 0000000000..d4d775c4eb >--- /dev/null >+++ b/.eslintrc.json >@@ -0,0 +1,21 @@ >+{ >+ "env": { >+ "browser": true, >+ "jquery": true >+ }, >+ "extends": "eslint:recommended", >+ "rules": { >+ "indent": [ >+ "error", >+ 4 >+ ], >+ "linebreak-style": [ >+ "error", >+ "unix" >+ ], >+ "semi": [ >+ "error", >+ "always" >+ ] >+ } >+} >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23834
:
94373
| 94966