@fine-js/eslint-config

2.0.1 • Public • Published

ESLint config that's just fine

This package provides rules-only defaults for your ESLint config. There are no plugins (like eslint-plugin-react) or global-level options. Only defaults rules shipped by ESLint are configured.

This is also not a top-level guide, but we can recommend something like the following config for your Node.js project (goes to project root's .eslintrc.yaml):

root: true
extends:
  - '@fine-js/eslint-config'

parserOptions:
  ecmaVersion: 2020
  sourceType: script
  ecmaFeatures:
    globalReturn: true
    impliedStrict: false
    jsx: false

env:
  es2020: true
  node: true

overrides:
  - files: ["*.test.js"]
    env:
      mocha: true

Readme

Keywords

none

Package Sidebar

Install

npm i @fine-js/eslint-config

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

14.1 kB

Total Files

4

Last publish

Collaborators

  • elmigranto