Gathering detailed insights and metrics for eslint-config-universe-error
Gathering detailed insights and metrics for eslint-config-universe-error
Gathering detailed insights and metrics for eslint-config-universe-error
Gathering detailed insights and metrics for eslint-config-universe-error
Moved to https://github.com/expo/expo/tree/master/packages/eslint-config-universe
npm install eslint-config-universe-error
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
109 Stars
55 Commits
7 Forks
3 Watchers
2 Branches
23 Contributors
Updated on Jun 25, 2025
Latest Version
1.0.7
Package Id
eslint-config-universe-error@1.0.7
Unpacked Size
14.74 kB
Size
5.28 kB
File Count
11
NPM Version
5.5.1
Node Version
8.9.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
7
4
Shared ESLint configs for Node, Web, React Native, and Expo projects.
The original package eslint-config-universe is based on trust that everyone will fix their work and eslint warnings before commiting.
But as this is not always the case, this repo switches every rule from warning to error in order to prevent a CI from validating incorrectly styled code.
1yarn add --dev eslint-config-universe
You will also need to install eslint
and prettier
:
1yarn add --dev eslint prettier
Import this config into your own ESLint configuration using the extends
option. ESLint checks both package.json and .eslintrc.* files for its configuration:
1{ 2 "eslintConfig": { 3 // Choose from universe/native, universe/node, universe/web 4 "extends": "universe" 5 } 6}
1module.exports = { 2 extends: 'universe', 3};
If you would like to customize the Prettier settings, create a file named .prettierrc
in your project directory. This file must declare a Prettier configuration like this:
1{ 2 "printWidth": 100, 3 "tabWidth": 2, 4 "singleQuote": true, 5 "jsxBracketSameLine": true, 6 "trailingComma": "es5" 7}
There are several configs for different platforms. They are:
universe
: the basic config for JavaScript projects for which there isn't a more specific configuniverse/native
: the config for React Native projects, including Expo projects, with support for React and JSXuniverse/web
: the config for code that runs in web browsers, with support for React and JSXuniverse/node
: the config for code that runs in NodeFor an Expo project, your configuration might look like this:
1"eslintConfig": { 2 "extends": "universe/native" 3}
You also can extend multiple configs, which is useful for projects that span several platforms:
1"eslintConfig": { 2 "extends": ["universe/node", "universe/web"] 3}
This config is designed to mark severe problems (ex: syntax errors) as errors and stylistic issues as warnings. This lets your team apply policies like, "make sure a commit has no errors but ignore warnings if the commit didn't introduce them."
It's also designed to be a more lenient config for teams who are stronger at decision-making and have a culture of osmotically learning coding guidelines and benefit more from flexibility than rigid rules.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
project is archived
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More