@omer-x/eslint-config 2.1.0 → 2.1.2

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/dist/base.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import eslint from "@eslint/js";
2
2
  export default [
3
3
  {
4
- files: ["src/**/*.+(js|jsx)", "./*.+(js|jsx)"],
4
+ files: ["**/*.+(js|jsx)"],
5
5
  ignores: ["node_modules/"],
6
6
  rules: {
7
7
  ...eslint.configs.recommended.rules,
package/dist/import.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import importPlugin from "eslint-plugin-import";
2
2
  export default [
3
3
  {
4
- files: ["src/**/*.+(js|jsx|ts|tsx)", "./*.+(js|jsx|ts|tsx)"],
4
+ files: ["**/*.+(js|jsx|ts|tsx)"],
5
5
  ignores: ["node_modules/"],
6
6
  plugins: {
7
7
  import: importPlugin,
package/dist/jsx-a11y.js CHANGED
@@ -3,7 +3,7 @@ export async function loadJsxAccessibilityConfig() {
3
3
  const { default: jsxA11y } = await import("eslint-plugin-jsx-a11y");
4
4
  return [
5
5
  {
6
- files: ["src/**/*.+(jsx|tsx)", "./*.+(jsx|tsx)"],
6
+ files: ["**/*.+(jsx|tsx)"],
7
7
  ignores: ["node_modules/"],
8
8
  plugins: {
9
9
  "jsx-a11y": jsxA11y,
package/dist/react.js CHANGED
@@ -4,7 +4,7 @@ export async function loadReactConfig() {
4
4
  const { default: react } = await import("eslint-plugin-react");
5
5
  return [
6
6
  {
7
- files: ["src/**/*.+(jsx|tsx)", "./*.+(jsx|tsx)"],
7
+ files: ["**/*.+(jsx|tsx)"],
8
8
  ignores: ["node_modules/"],
9
9
  languageOptions: {
10
10
  globals: {
@@ -23,6 +23,9 @@ export async function loadReactConfig() {
23
23
  "react/jsx-no-literals": ["error", {
24
24
  allowedStrings: [
25
25
  "©",
26
+ "«",
27
+ "»",
28
+ "…",
26
29
  ],
27
30
  }],
28
31
  },
package/dist/stylistic.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import stylistic from "@stylistic/eslint-plugin";
2
2
  export default [
3
3
  {
4
- files: ["src/**/*.+(js|jsx|ts|tsx)", "./*.+(js|jsx|ts|tsx)"],
4
+ files: ["**/*.+(js|jsx|ts|tsx)"],
5
5
  ignores: ["node_modules/"],
6
6
  plugins: {
7
7
  "@stylistic": stylistic,
@@ -4,7 +4,7 @@ import tseslint from "typescript-eslint";
4
4
  import base from "./base.js";
5
5
  export default [
6
6
  {
7
- files: ["src/**/*.+(ts|tsx)", "./*.+(ts|tsx)"],
7
+ files: ["**/*.+(ts|tsx)"],
8
8
  ignores: ["node_modules/"],
9
9
  languageOptions: {
10
10
  parser,
@@ -1,7 +1,7 @@
1
1
  import unusedImports from "eslint-plugin-unused-imports";
2
2
  export default [
3
3
  {
4
- files: ["src/**/*.+(js|jsx|ts|tsx)", "./*.+(js|jsx|ts|tsx)"],
4
+ files: ["**/*.+(js|jsx|ts|tsx)"],
5
5
  ignores: ["node_modules/"],
6
6
  plugins: {
7
7
  "unused-imports": unusedImports,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omer-x/eslint-config",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "My favorite eslint rules",
5
5
  "keywords": [
6
6
  "eslint-config",