airier 0.0.3 → 0.0.5
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/.eslintrc.cjs +6 -0
- package/.eslintrc.onlystyles.example.js +2 -2
- package/.vscode/settings.json +2 -1
- package/index.cjs +6 -0
- package/modules/{eslint_config.js → eslint_config.cjs} +2 -2
- package/modules/{styleguide.js → styleguide.cjs} +1 -1
- package/package.json +9 -4
- package/.eslintrc.js +0 -6
- package/index.js +0 -6
package/.eslintrc.cjs
ADDED
package/.vscode/settings.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"vite.config.js": "*.js,.babelrc,.nvmrc,index.html,.gitignore",
|
|
22
22
|
".env": ".env*,.*.json",
|
|
23
23
|
"firebase.json": "fire*,.fire*",
|
|
24
|
-
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml"
|
|
24
|
+
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml,.eslint*,config.*,.npm*,.nvm*,.ncu*",
|
|
25
|
+
"README.md": "*.md,LICENSE",
|
|
25
26
|
}
|
|
26
27
|
}
|
package/index.cjs
ADDED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Import the styleguide module using ES Module syntax
|
|
2
|
-
|
|
2
|
+
const styleguide = require( './styleguide.cjs' )
|
|
3
3
|
|
|
4
4
|
// Export the configuration object using `export default`
|
|
5
|
-
|
|
5
|
+
module.exports = {
|
|
6
6
|
|
|
7
7
|
// Recommended features
|
|
8
8
|
"extends": [ "eslint:recommended", "plugin:react/recommended" ],
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "airier",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Opinionated Eslint and VSCode style guide",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"type": "module",
|
|
7
6
|
"scripts": {
|
|
8
|
-
"
|
|
7
|
+
"lint": "eslint --fix ."
|
|
9
8
|
},
|
|
10
9
|
"repository": {
|
|
11
10
|
"type": "git",
|
|
@@ -18,6 +17,12 @@
|
|
|
18
17
|
},
|
|
19
18
|
"homepage": "https://github.com/actuallymentor/airier#readme",
|
|
20
19
|
"peerDependencies": {
|
|
21
|
-
"eslint-plugin-unused-imports": "^3.1.0"
|
|
20
|
+
"eslint-plugin-unused-imports": "^3.1.0",
|
|
21
|
+
"@babel/eslint-parser": "^7.24.1",
|
|
22
|
+
"@babel/preset-react": "^7.24.1",
|
|
23
|
+
"airier": "^0.0.3",
|
|
24
|
+
"eslint": "^8.57.0",
|
|
25
|
+
"eslint-plugin-react": "^7.34.1",
|
|
26
|
+
"husky": "^9.0.11"
|
|
22
27
|
}
|
|
23
28
|
}
|
package/.eslintrc.js
DELETED