Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmaisner committed Apr 11, 2023
2 parents f40aaac + a338ff9 commit 8fa73ee
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,62 @@ module.exports = {
],
},
},

scriptonly: {
plugins: ["@orion.ui/eslint-plugin-orion"],

rules: {
"@orion.ui/orion/async-suffix": "error",
"@orion.ui/orion/async-await": "off",
"array-element-newline": ["error", "consistent"],
"arrow-parens": ["error", "as-needed", { requireForBlockBody: true }],
"arrow-spacing": ["error", { before: true, after: true }],
"brace-style": ["error", "1tbs", { allowSingleLine: true }],
"comma-dangle": ["error", "always-multiline"],
"comma-spacing": ["error", { before: false, after: true }],
"computed-property-spacing": ["error", "never"],
"eol-last": ["error", "always"],
eqeqeq: ["error", "smart"],
"func-call-spacing": ["error", "never"],
indent: ["error", "tab"],
"key-spacing": ["error", { mode: "strict" }],
"keyword-spacing": ["error", { before: true, after: true }],
"lines-between-class-members": [
"error",
"always",
{ exceptAfterSingleLine: true },
],
"max-len": ["error", { code: 160 }],
"no-console": "warn",
"no-debugger": process.env.NODE_ENV !== "development" ? "error" : "warn",
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-multi-spaces": "error",
"no-tabs": ["error", { allowIndentationTabs: true }],
"no-trailing-spaces": ["error"],
"no-unused-vars": "off",
"no-whitespace-before-property": "error",
"object-curly-newline": [
"error",
{
ImportDeclaration: { multiline: false },
ObjectExpression: {
multiline: true,
minProperties: 3,
},
},
],
"object-curly-spacing": ["error", "always"],
"object-property-newline": [
"error",
{ allowAllPropertiesOnSameLine: false },
],
quotes: ["error", "single", { allowTemplateLiterals: true }],
"semi-spacing": ["error", { before: false, after: true }],
semi: ["error", "always"],
"space-before-blocks": "error",
"space-before-function-paren": ["error", "always"],
"space-in-parens": ["error", "never"],
},
},
},
};

0 comments on commit 8fa73ee

Please sign in to comment.