@favorodera/eslint-config 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  <p>
5
5
  <a href="https://github.com/favorodera/eslint-config/blob/main/LICENSE"><img src="https://img.shields.io/github/license/favorodera/eslint-config.svg?style=plastic&label=License&color=blue" alt="License"></a>
6
6
  <a href="https://github.com/favorodera/eslint-config/stargazers"><img src="https://img.shields.io/github/stars/favorodera/eslint-config.svg?style=plastic&label=Stars&color=blue" alt="GitHub Stars"></a>
7
- <a href="https://www.npmjs.com/package/@favorodera/eslint-config"><img src="https://img.shields.io/npm/v/@favorodera/eslint-config.svg?style=plastic&label=Version&color=blue" alt="NPM Version"></a>
7
+ <a href="https://npmx.dev/package/@favorodera/eslint-config"><img src="https://img.shields.io/npm/v/@favorodera/eslint-config.svg?style=plastic&label=Version&color=blue" alt="NPM Version"></a>
8
8
  </p>
9
9
  </div>
10
10
 
@@ -87,7 +87,7 @@ import { factory } from '@favorodera/eslint-config'
87
87
 
88
88
  export default factory({
89
89
  // All configs are true by default!
90
-
90
+
91
91
  // Example: Customize specific rulesets
92
92
  stylistic: {
93
93
  settings: {
package/dist/index.mjs CHANGED
@@ -949,6 +949,7 @@ const stylisticDefaults = {
949
949
  vueGlob
950
950
  ],
951
951
  settings: {
952
+ braceStyle: "1tbs",
952
953
  experimental: false,
953
954
  indent: 2,
954
955
  jsx: false,
@@ -977,27 +978,24 @@ async function stylistic(options) {
977
978
  name: "favorodera/stylistic/rules",
978
979
  rules: {
979
980
  ...baseRules,
980
- "style/brace-style": "off",
981
- "style/generator-star-spacing": ["error", {
982
- after: true,
983
- before: false
984
- }],
985
- "style/no-multiple-empty-lines": ["error", {
986
- max: 2,
987
- maxBOF: 0,
988
- maxEOF: 2
989
- }],
990
- "style/no-trailing-spaces": ["error", { skipBlankLines: true }],
991
- "style/padded-blocks": "off",
992
- "style/quotes": [
993
- "error",
994
- "single",
995
- { avoidEscape: true }
996
- ],
997
- "style/yield-star-spacing": ["error", {
998
- after: true,
999
- before: false
1000
- }],
981
+ "style/array-bracket-newline": "error",
982
+ "style/array-element-newline": "error",
983
+ "style/curly-newline": ["error", "always"],
984
+ "style/function-call-argument-newline": ["error", "consistent"],
985
+ "style/function-call-spacing": "error",
986
+ "style/function-paren-newline": "error",
987
+ "style/implicit-arrow-linebreak": "error",
988
+ "style/line-comment-position": "error",
989
+ "style/linebreak-style": "error",
990
+ "style/multiline-comment-style": "error",
991
+ "style/newline-per-chained-call": "error",
992
+ "style/no-confusing-arrow": "error",
993
+ "style/no-extra-semi": "error",
994
+ "style/nonblock-statement-body-position": "error",
995
+ "style/object-curly-newline": "error",
996
+ "style/semi-style": "error",
997
+ "style/switch-colon-spacing": "error",
998
+ "style/wrap-regex": "error",
1001
999
  ...resolved.overrides
1002
1000
  }
1003
1001
  }];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@favorodera/eslint-config",
3
3
  "type": "module",
4
- "version": "0.0.9",
4
+ "version": "0.0.10",
5
5
  "private": false,
6
6
  "description": "Opinionated, type-safe flat ESLint configuration factory for Vue, TypeScript, Tailwind, and more.",
7
7
  "author": "Favour Emeka <favorodera@gmail.com>",