mirror of
https://github.com/react95-io/React95.git
synced 2026-04-26 03:00:18 -04:00
Improve eslint configuration with prettier
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
extends: ['airbnb', 'prettier'],
|
||||
extends: ['airbnb', 'plugin:prettier/recommended', 'prettier/react'],
|
||||
parser: 'babel-eslint',
|
||||
plugins: ['prettier'],
|
||||
plugins: ['react', 'prettier'],
|
||||
env: {
|
||||
browser: true,
|
||||
es6: true,
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"lint": "eslint src",
|
||||
"lint": "eslint src --ext .js",
|
||||
"lint:fix": "npm run lint -- --fix"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user