selectron-react
Version:
A select replacement component built with & for React
63 lines (61 loc) • 1.53 kB
YAML
parserOptions:
ecmaVersion: 6
sourceType: "module"
ecmaFeatures:
jsx: true
modules: true
env:
browser: true
jquery: true
rules:
indent: [2, 4]
brace-style: [2, "1tbs"]
comma-style: [1, "last"]
default-case: 2
func-style: [2, "declaration", { allowArrowFunctions: true }]
no-floating-decimal: 2
no-nested-ternary: 2
no-undefined: 2
radix: 2
space-before-function-paren: [1, "never"]
keyword-spacing: [2, {after: true}]
space-before-blocks: 1
spaced-comment: [2, "always", { exceptions: ["-"]}]
valid-jsdoc: [1, { requireReturn: false, prefer: { return: "returns" }}]
wrap-iife: 2
guard-for-in: 2
strict: [2, "global"]
no-alert: 2
camelcase: 1
curly: [2, "all"]
eqeqeq: [2, "allow-null"]
no-empty: 2
no-use-before-define: 2
no-obj-calls: 2
no-unused-vars: [1, {vars: "local", args: "after-used"}]
new-cap: 2
no-shadow: 1
no-invalid-regexp: 2
comma-dangle: [1, "never"]
no-undef: 2
no-extra-semi: 2
no-debugger: 2
no-caller: 1
semi: [1, "never"]
quotes: [1, "single", "avoid-escape"]
no-unreachable: 2
eol-last: 1
operator-linebreak: [1, "before", {overrides: {"?": "after", ":": "after"}}]
max-len: [0, 98, 4, {"ignoreComments": true}]
no-multi-str: 1
no-mixed-spaces-and-tabs: 1
no-trailing-spaces: 1
space-infix-ops: 1
space-unary-ops: 1
no-with: 2
dot-notation: 1
semi-spacing: 1
key-spacing: [1, {beforeColon: false, afterColon: true, mode: "minimum"}]
space-in-parens: [1, "never"]
no-var: 2
prefer-const: 2