mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
chore(ui): update eslint config to target react apps
This commit is contained in:
@@ -1 +0,0 @@
|
||||
assets/static/jquery.typing-*.js
|
||||
@@ -1,30 +1,3 @@
|
||||
env:
|
||||
browser: true
|
||||
commonjs: true
|
||||
es6: true
|
||||
jest: true
|
||||
node: true
|
||||
extends:
|
||||
- eslint:recommended
|
||||
rules:
|
||||
indent:
|
||||
- error
|
||||
- 4
|
||||
linebreak-style:
|
||||
- error
|
||||
- unix
|
||||
quotes:
|
||||
- error
|
||||
- double
|
||||
array-bracket-spacing:
|
||||
- warn
|
||||
- always
|
||||
block-spacing:
|
||||
- warn
|
||||
- always
|
||||
brace-style:
|
||||
- warn
|
||||
- 1tbs
|
||||
camelcase: warn
|
||||
no-console: off
|
||||
no-use-before-define: error
|
||||
- react-app
|
||||
- plugin:react/recommended
|
||||
|
||||
Reference in New Issue
Block a user