1.3.2 • Published 7 months ago

eslint-config-atmn v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

eslint-config-atmn

Atmn eslint configuration.

All base configurations and plugins are used as dependencies.

Warning: Flat config supported only.

Note: if you are using vscode-eslint extension, turn flat config option on, please.

  • v1.2.0: cjs supported.

Installation

Install eslint-config-atmn:

npm install -D eslint-config-atmn

Then, in your eslint.config.js:

import atmn from "eslint-config-atmn";

export default [
  ...atmn, // as base config
  // your own config
];

for commonjs:

const atmn = require("eslint-config-atmn/cjs").default;

module.exports = [
  ...atmn, // as base config
  // your own config
];

Peer dependencies

{
  "eslint": ">=8.21",
  "jest": ">=29",
  "prettier": ">=2"
}

Features

Typescript

@typescript-eslint/eslint-plugin in use.

Jest

eslint-plugin-jest in use.

React

eslint-plugin-react in use.

Prettier

eslint-plugin-prettier in use. Reading .prettierrc by default.

License

MIT.