@switz/eslint-config 12.0.6 → 12.1.0

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
@@ -1,3 +1,5 @@
1
+ HI
2
+
1
3
  # switz's eslint-config
2
4
 
3
5
  ## Motivation
package/eslint.config.mjs CHANGED
@@ -1,7 +1,16 @@
1
+ import globals from 'globals';
1
2
  import js from '@eslint/js';
2
3
  import prettierPlugin from 'eslint-plugin-prettier/recommended';
3
4
 
4
5
  export default [
6
+ {
7
+ languageOptions: {
8
+ globals: {
9
+ ...globals.browser,
10
+ ...globals.nodeBuiltin,
11
+ },
12
+ },
13
+ },
5
14
  js.configs.recommended,
6
15
  {
7
16
  files: ['**/*.{js,jsx,ts,tsx}'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@switz/eslint-config",
3
- "version": "12.0.6",
3
+ "version": "12.1.0",
4
4
  "description": "",
5
5
  "main": "eslintrc.cjs",
6
6
  "type": "module",
@@ -20,6 +20,7 @@
20
20
  "eslint-plugin-prettier": "^5.1.3",
21
21
  "eslint-plugin-react": "^7.34.2",
22
22
  "eslint-plugin-tailwindcss": "^3.17.0",
23
+ "globals": "^16.0.0",
23
24
  "prettier": "3.5.3",
24
25
  "prettier-plugin-tailwindcss": "^0.6.11",
25
26
  "typescript-eslint": "^8.29.0"