![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@ggascoigne/eslint-config
Advanced tools
My personal shareable eslint configuration.
pnpm add -D eslint @ggascoigne/eslint-config
.eslintrc.js
module.exports = {
extends: '@ggascoigne/eslint-config',
}
The default config is React-centric, if you want a config without react then use:
module.exports = {
extends: '@ggascoigne/eslint-config/base',
}
module.exports = {
extends: '@ggascoigne/eslint-config/ts',
}
module.exports = {
extends: '@ggascoigne/eslint-config/jest',
}
An example configuring a mixed JS/TS, tsconfig
-compatible configuration with jest linting.
.eslintrc.js
module.exports = {
ignorePatterns: ['dist/**'],
overrides: [
{
files: ['**/*.ts'],
extends: ['@ggascoigne/eslint-config/ts', '@ggascoigne/eslint-config/jest'],
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
},
},
{
files: ['**/*.js'],
extends: ['@ggascoigne/eslint-config', '@ggascoigne/eslint-config/jest'],
},
],
}
Running this command:
npm set-script lint:js "eslint --fix **/*.{js,jsx,ts,tsx}"
Will create:
package.json
"scripts": {
"lint:js": "eslint --fix **/*.{js,jsx,ts,tsx}"
},
lint-staged.config.js
module.exports = {
'*.{js,jsx,ts,tsx}': ['prettier --cache --write', 'eslint --cache --fix'],
}
index.js
eslint-plugin-prettier
eslint
parsereslint-plugin-unicorn
eslint-plugin-promise
eslint-plugin-sonarjs
eslint-plugin-security
,eslint
ruleseteslint-config-airbnb-base
eslint-config-prettier
ts.js
@typescript-eslint/eslint-plugin
eslint-plugin-prettier
@typescript-eslint/parser
eslint-plugin-unicorn
eslint-plugin-promise
eslint-plugin-sonarjs
eslint-plugin-security
,@typescript-eslint/eslint-plugin
eslint-config-airbnb-typescript
eslint-config-prettier
jest.js
jest
jest-dom
jest-formatting
plugin:jest/recommended
plugin:jest-dom/recommended
plugin:jest-formatting/recommended
MIT
FAQs
A shareable eslint configuration for projects.
We found that @ggascoigne/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.